DrawingAttributeIds Sınıf

Tanım

sınıfındaki DrawingAttributes özellikleri tanımlayan bir guidd kümesi içerir.

public ref class DrawingAttributeIds abstract sealed
public static class DrawingAttributeIds
type DrawingAttributeIds = class
Public Class DrawingAttributeIds
Devralma
DrawingAttributeIds

Örnekler

Aşağıdaki örnek, bir PropertyDataChanged olay içinde değiştirilen özelliği algılamak için sınıfının nasıl kullanılacağını DrawingAttributeIds gösterir.

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

Alanlar

Color

Özelliğini tanımlar Color .

DrawingFlags

İç DrawingFlags özelliği tanımlar.

IsHighlighter

Özelliğini tanımlar IsHighlighter .

StylusHeight

Özelliğini tanımlar Height .

StylusTip

Özelliğini tanımlar StylusTip .

StylusTipTransform

Özelliğini tanımlar StylusTipTransform .

StylusWidth

Özelliğini tanımlar Width .

Şunlara uygulanır