Share via


TreeViewItem.GlyphSize 屬性

定義

取得或設定 TreeView 上的節點圖像大小。

public:
 property double GlyphSize { double get(); void set(double value); };
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")]
double GlyphSize();

void GlyphSize(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")]
double GlyphSize();

void GlyphSize(double value);
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")]
public double GlyphSize { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="12.0")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")]
public double GlyphSize { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="8.0")] set; }
var double = treeViewItem.glyphSize;
treeViewItem.glyphSize = double;
Public Property GlyphSize As Double

屬性值

Double

double

TreeView 上大小字元的不透明度。

屬性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

適用於