共用方式為


TextBlock.GetLineStackingStrategy(DependencyObject) 方法

定義

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

public:
 static System::Windows::LineStackingStrategy GetLineStackingStrategy(System::Windows::DependencyObject ^ element);
public static System.Windows.LineStackingStrategy GetLineStackingStrategy (System.Windows.DependencyObject element);
static member GetLineStackingStrategy : System.Windows.DependencyObject -> System.Windows.LineStackingStrategy
Public Shared Function GetLineStackingStrategy (element As DependencyObject) As LineStackingStrategy

參數

element
DependencyObject

要從中擷取 LineStackingStrategy 附加屬性值的相依性物件。

傳回

所指定相依性物件上 LineStackingStrategy 附加屬性的目前值。

例外狀況

elementnull

適用於

另請參閱