DrawingAttributeIds Classe

Definição

Contém um conjunto de GUIDs que identificam as propriedades na classe DrawingAttributes.

public ref class DrawingAttributeIds abstract sealed
public static class DrawingAttributeIds
type DrawingAttributeIds = class
Public Class DrawingAttributeIds
Herança
DrawingAttributeIds

Exemplos

O exemplo a seguir demonstra como usar a DrawingAttributeIds classe para detectar a propriedade que foi alterada em um PropertyDataChanged evento.

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

Campos

Color

Identifica a propriedade Color.

DrawingFlags

Identifica a propriedade DrawingFlags interna.

IsHighlighter

Identifica a propriedade IsHighlighter.

StylusHeight

Identifica a propriedade Height.

StylusTip

Identifica a propriedade StylusTip.

StylusTipTransform

Identifica a propriedade StylusTipTransform.

StylusWidth

Identifica a propriedade Width.

Aplica-se a