DrawingAttributeIds 클래스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
클래스의 속성을 식별하는 GUID 집합을 DrawingAttributes 포함합니다.
public ref class DrawingAttributeIds abstract sealed
public static class DrawingAttributeIds
type DrawingAttributeIds = class
Public Class DrawingAttributeIds
- 상속
-
DrawingAttributeIds
예제
다음 예제에서는 이벤트 내에서 변경 된 속성을 검색 하는 클래스를 사용 DrawingAttributeIds 하는 방법을 보여 줍니다 PropertyDataChanged .
void inkDA_AttributeChanged(object sender, PropertyDataChangedEventArgs e)
{
if (e.PropertyGuid == DrawingAttributeIds.Color)
{
this.Title = "The pen color is: " + e.NewValue.ToString();
}
}
Private Sub inkDA_AttributeChanged(ByVal sender As Object, _
ByVal e As PropertyDataChangedEventArgs)
If (e.PropertyGuid = DrawingAttributeIds.Color) Then
Me.Title = "The pen color is: " + e.NewValue.ToString()
End If
End Sub
필드
| Name | Description |
|---|---|
| Color |
속성을 식별합니다 Color . |
| DrawingFlags |
내부 |
| IsHighlighter |
속성을 식별합니다 IsHighlighter . |
| StylusHeight |
속성을 식별합니다 Height . |
| StylusTip |
속성을 식별합니다 StylusTip . |
| StylusTipTransform |
속성을 식별합니다 StylusTipTransform . |
| StylusWidth |
속성을 식별합니다 Width . |