Typography.SetContextualAlternates(DependencyObject, Boolean) 方法

定义

设置指定依赖对象的附加属性的值 ContextualAlternates

public:
 static void SetContextualAlternates(System::Windows::DependencyObject ^ element, bool value);
public static void SetContextualAlternates(System.Windows.DependencyObject element, bool value);
static member SetContextualAlternates : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetContextualAlternates (element As DependencyObject, value As Boolean)

参数

element
DependencyObject

要为其设置属性值的 ContextualAlternates 依赖对象。

value
Boolean

要将属性设置为的新值。

例外

elementnull..

适用于

另请参阅