ToolBar.SetOverflowMode(DependencyObject, OverflowMode) 方法

定义

OverflowMode 属性的值写入指定元素。

public:
 static void SetOverflowMode(System::Windows::DependencyObject ^ element, System::Windows::Controls::OverflowMode mode);
public static void SetOverflowMode (System.Windows.DependencyObject element, System.Windows.Controls.OverflowMode mode);
static member SetOverflowMode : System.Windows.DependencyObject * System.Windows.Controls.OverflowMode -> unit
Public Shared Sub SetOverflowMode (element As DependencyObject, mode As OverflowMode)

参数

element
DependencyObject

要在其中写入属性的元素。

mode
OverflowMode

要设置的属性值。

注解

有关可能的模式值,请参阅 OverflowMode

适用于