ComboBoxTemplateSettings Class

提供在为 ComboBox 控件定义模板时可作为 TemplatedParent 源引用的计算值。不供常规使用。

继承

Object
  DependencyObject
    ComboBoxTemplateSettings

语法


public sealed class ComboBoxTemplateSettings : DependencyObject

特性

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

成员

ComboBoxTemplateSettings类 具有这些类型的成员:

方法

The ComboBoxTemplateSettings 类 具有这些方法。 它还继承方法于Object 类.

方法说明
ClearValue Clears the local value of a dependency property. (继承自DependencyObject)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (继承自DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (继承自DependencyObject)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (继承自DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (继承自DependencyObject)

 

属性

ComboBoxTemplateSettings类 具有这些属性。

属性访问类型说明

Dispatcher

只读Gets the CoreDispatcher that this object is associated with. (继承自DependencyObject)

DropDownClosedHeight

只读Gets a value that reports the run-time layout slot height of the Popup part of a ComboBox in the Closed state.

DropDownOffset

只读Gets a value that reports the run-time offset value that is useful for a Split animation of the Popup part of a ComboBox.

DropDownOpenedHeight

只读Gets a value that reports the run-time layout slot height of the Popup part of a ComboBox in the Opened state.

SelectedItemDirection

只读Gets a value that reports the selection direction in a ComboBox. This is either Bottom or Top depending on how DropDownOffset is set.

 

备注

通过查询 TemplateSettings 值获取 ComboBoxTemplateSettings 实例。

来自 ComboBoxTemplateSettings 的值通常用作主题动画或转换的 ToFrom 值。

要求

最低支持客户端

Windows 8 [仅 Windows 应用商店应用程序]

最低支持服务器

Windows Server 2012 [仅 Windows 应用商店应用程序]

命名空间

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

元数据

Windows.winmd

另请参见

DependencyObject

 

 

显示:
© 2015 Microsoft