AutoToolTipPlacement 枚举

定义

描述自动 ToolTipSlider 控件上的定位方式。Describes the means by which the automatic ToolTip is positioned on a Slider control.

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

字段

BottomRight 2

对于水平 Slider,在 ToolTip 的下边缘显示自动 ThumbFor a horizontal Slider show the automatic ToolTip at the bottom edge of the Thumb. 对于垂直 Slider,在 ToolTip 的右边缘显示自动 ThumbFor a vertical Slider show the automatic ToolTip at the right edge of the Thumb.

None 0

无自动 ToolTipNo automatic ToolTip

TopLeft 1

对于水平 Slider,在 ToolTip 的上边缘显示自动 ThumbFor a horizontal Slider show the automatic ToolTip at the top edge of the Thumb. 对于垂直 Slider,在 ToolTip 的左边缘显示自动 ThumbFor a vertical Slider show the automatic ToolTip at the left edge of the Thumb.

示例

下面的示例演示如何使用此枚举AutoToolTipPlacement的值来Slider设置的属性。The following example shows how to set the AutoToolTipPlacement property of a Slider using the values of this enumeration.

适用于