DrawingAttributeIds Třída

Definice

Obsahuje sadu identifikátorů GUID, které identifikují vlastnosti ve DrawingAttributes třídě.

public ref class DrawingAttributeIds abstract sealed
public static class DrawingAttributeIds
type DrawingAttributeIds = class
Public Class DrawingAttributeIds
Dědičnost
DrawingAttributeIds

Příklady

Následující příklad ukazuje, jak pomocí DrawingAttributeIds třídy zjistit vlastnost, která se změnila v rámci PropertyDataChanged události.

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

Pole

Name Description
Color

Color Identifikuje vlastnost.

DrawingFlags

Identifikuje interní DrawingFlags vlastnost.

IsHighlighter

IsHighlighter Identifikuje vlastnost.

StylusHeight

Height Identifikuje vlastnost.

StylusTip

StylusTip Identifikuje vlastnost.

StylusTipTransform

StylusTipTransform Identifikuje vlastnost.

StylusWidth

Width Identifikuje vlastnost.

Platí pro