DrawingAttributeIds 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
包含一組用來識別類別屬性 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
欄位
| 名稱 | Description |
|---|---|
| Color |
識別該 Color 物業。 |
| DrawingFlags |
識別內在 |
| IsHighlighter |
識別該 IsHighlighter 物業。 |
| StylusHeight |
識別該 Height 物業。 |
| StylusTip |
識別該 StylusTip 物業。 |
| StylusTipTransform |
識別該 StylusTipTransform 物業。 |
| StylusWidth |
識別該 Width 物業。 |