共用方式為


Block.SetLineStackingStrategy(DependencyObject, LineStackingStrategy) 方法

定義

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

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

參數

element
DependencyObject

要設定 LineStackingStrategy 屬性值的相依性物件。

value
LineStackingStrategy

要設定屬性的目標新值。

例外狀況

elementnull

適用於

另請參閱