IntegerProperty 枚举

定义

标识视觉样式元素的整数属性。Identifies the integer properties of a visual style element.

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

字段

AlphaLevel 2402

图标的 Alpha 值,介于 0 和 255 之间。The alpha value for an icon, between 0 and 255.

AlphaThreshold 2415

单色像素的最小 Alpha 值,介于 0 和 255 之间。The minimum alpha value of a solid pixel, between 0 and 255.

BorderSize 2403

带有填充边框背景的元素的边框线大小。The size of the border line for elements with a filled-border background.

GlyphIndex 2418

基于字体标志符号的字体内部的索引。The index into the font for font-based glyphs.

GradientRatio1 2406

渐变色中要使用的 GradientColor1 的数量。The amount of GradientColor1 to use in a color gradient. 五个 GradientRatio 属性的总和必须等于 255。The sum of the five GradientRatio properties must equal 255.

GradientRatio2 2407

渐变色中要使用的 GradientColor2 的数量。The amount of GradientColor2 to use in a color gradient. 五个 GradientRatio 属性的总和必须等于 255。The sum of the five GradientRatio properties must equal 255.

GradientRatio3 2408

渐变色中要使用的 GradientColor3 的数量。The amount of GradientColor3 to use in a color gradient. 五个 GradientRatio 属性的总和必须等于 255。The sum of the five GradientRatio properties must equal 255.

GradientRatio4 2409

渐变色中要使用的 GradientColor4 的数量。The amount of GradientColor4 to use in a color gradient. 五个 GradientRatio 属性的总和必须等于 255。The sum of the five GradientRatio properties must equal 255.

GradientRatio5 2410

渐变色中要使用的 GradientColor5 的数量。The amount of GradientColor5 to use in a color gradient. 五个 GradientRatio 属性的总和必须等于 255。The sum of the five GradientRatio properties must equal 255.

Height 2417

元素的高度。The height of an element.

ImageCount 2401

多图像文件中状态图像的数量。The number of state images in multiple-image file.

MinDpi1 2420

供设计 ImageFile1 时参考的每英寸最小点数 (DPI)。The minimum dots per inch (DPI) that ImageFile1 was designed for.

MinDpi2 2421

供设计 ImageFile2 时参考的最小 DPI。The minimum DPI that ImageFile2 was designed for.

MinDpi3 2422

供设计 ImageFile3 时参考的最小 DPI。The minimum DPI that ImageFile3 was designed for.

MinDpi4 2423

供设计 ImageFile4 时参考的最小 DPI。The minimum DPI that ImageFile4 was designed for.

MinDpi5 2424

供设计 ImageFile5 时参考的最小 DPI。The minimum DPI that ImageFile5 was designed for.

ProgressChunkSize 2411

进度栏元素的大小。The size of progress bar elements.

ProgressSpaceSize 2412

进度栏元素之间的空间大小。The size of spaces between progress bar elements.

RoundCornerHeight 2405

表示圆角高度的百分比值,范围从 0 到 100。A percentage value that represents the height of a rounded corner, from 0 to 100.

RoundCornerWidth 2404

表示圆角宽度的百分比值,范围从 0 到 100。A percentage value that represents the width of a rounded corner, from 0 to 100.

Saturation 2413

图像的饱和度值,介于 0 和 255 之间。The amount of saturation for an image, between 0 and 255.

TextBorderSize 2414

文本字符四周边框的大小。The size of the border around text characters.

TrueSizeStretchMark 2419

一个百分比值,指示当目标超出源范围时,固定大小的元素将延伸的程度。A percentage value indicating how far a fixed-size element will stretch when the target exceeds the source.

Width 2416

元素的宽度。The width of an element.

注解

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

适用于