EnumProperty 枚举

定义

标识视觉样式元素的枚举类型属性。Identifies the enumerated type properties of a visual style element.

public enum class EnumProperty
public enum EnumProperty
type EnumProperty = 
Public Enum EnumProperty
继承
EnumProperty

字段

BackgroundType 4001

BackgroundType 值之一,指定如何绘制此元素的背景。One of the BackgroundType values that specifies how the element's background is drawn.

BorderType 4002

BorderType 值之一,指定带有填充边框背景的元素的边框类型。One of the BorderType values that specifies the border type for elements with a filled-border background.

ContentAlignment 4006

ContentAlignment 值之一,指定窗口标题文本的对齐方式。One of the ContentAlignment values that specifies how text is aligned in a window caption.

FillType 4003

FillType 值之一,指定带有填充边框背景的元素的填充类型。One of the FillType values that specifies the fill type for elements with a filled-border background.

GlyphFontSizingType 4014

GlyphFontSizingType 值之一,指定视觉样式何时选择不同的标志符号字体大小。One of the GlyphFontSizingType values that specifies when the visual style selects a different glyph font size.

GlyphType 4012

GlyphType 值之一,指定带有位图背景的元素的标志符号类型。One of the GlyphType values that specifies the type of glyph for elements with a bitmap background.

HorizontalAlignment 4005

HorizontalAlign 值之一,为具有固定大小的元素指定水平对齐方式。One of the HorizontalAlign values that specifies the horizontal alignment for elements with a fixed size.

IconEffect 4009

IconEffect 值之一,指定视觉样式将应用于某个图标的效果。One of the IconEffect values that specifies the effect that the visual style will apply to an icon.

ImageLayout 4011

ImageOrientation 值之一,指定如何在单个图像文件中排列多个图像。One of the ImageOrientation values that specifies how multiple images are arranged in a single image file.

ImageSelectType 4013

ImageSelectType 值之一,指定视觉样式何时选择一个不同的多图像文件来绘制元素。One of the ImageSelectType values that specifies when the visual style selects a different multiple-image file to draw an element.

OffsetType 4008

OffsetType 值之一,指定在窗口元素上应用偏移的位置。One of the OffsetType values that specifies where an offset is applied to a window element.

SizingType 4004

SizingType 值之一,指定如何调整带有位图背景的元素以充满边界。One of the SizingType values that specifies how elements with a bitmap background will adjust to fill the bounds.

TextShadowType 4010

TextShadowType 值之一,指定要添加到文本的阴影的类型。One of the TextShadowType values that specifies the type of shadow to add to text.

TrueSizeScalingType 4015

TrueSizeScalingType 值之一,指定视觉样式何时重新缩放具有固定大小的元素。One of the TrueSizeScalingType values that specifies when the visual style rescales an element with a fixed size.

VerticalAlignment 4007

VerticalAlignment 值之一,为具有固定大小的元素指定垂直对齐方式。One of the VerticalAlignment values that specifies the vertical alignment for elements with a fixed size.

注解

EnumProperty枚举表示一组描述视觉样式元素的枚举属性。The EnumProperty enumeration represents a set of enumerated properties that describe visual style elements. 这些EnumProperty值用作VisualStyleRenderer.GetEnumValue方法中的参数, 用于指定要VisualStyleRenderer为当前表示的元素检索的属性值。The EnumProperty values are used as an argument in the VisualStyleRenderer.GetEnumValue method to specify which property value to retrieve for the element that the VisualStyleRenderer currently represents.

适用于