DrawingAttributeIds クラス

定義

DrawingAttributes クラスのプロパティを識別する一連の GUID を格納します。

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

フィールド

Color

Color プロパティを識別します。

DrawingFlags

内部 DrawingFlags プロパティを識別します。

IsHighlighter

IsHighlighter プロパティを識別します。

StylusHeight

Height プロパティを識別します。

StylusTip

StylusTip プロパティを識別します。

StylusTipTransform

StylusTipTransform プロパティを識別します。

StylusWidth

Width プロパティを識別します。

適用対象