共用方式為


Typography.SetContextualAlternates(DependencyObject, Boolean) 方法

定義

設定所指定相依性物件 之 CoNtextualAlternates 附加屬性的值。

public:
 static void SetContextualAlternates(DependencyObject ^ element, bool value);
 static void SetContextualAlternates(DependencyObject const& element, bool const& value);
public static void SetContextualAlternates(DependencyObject element, bool value);
function setContextualAlternates(element, value)
Public Shared Sub SetContextualAlternates (element As DependencyObject, value As Boolean)

參數

element
DependencyObject

要為其設定 CoNtextualAlternates 屬性值的相依性物件。

value
Boolean

bool

要設定屬性的目標新值。

適用於

另請參閱