共用方式為


Typography.SetDiscretionaryLigatures(DependencyObject, Boolean) 方法

定義

設定指定相依性物件的 DiscretionaryLigatures 附加屬性值。

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

參數

element
DependencyObject

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

value
Boolean

bool

要設定屬性的目標新值。

適用於

另請參閱