共用方式為


AutomationProperties.GetHeadingLevel(DependencyObject) 方法

定義

public:
 static System::Windows::Automation::AutomationHeadingLevel GetHeadingLevel(System::Windows::DependencyObject ^ element);
public static System.Windows.Automation.AutomationHeadingLevel GetHeadingLevel (System.Windows.DependencyObject element);
static member GetHeadingLevel : System.Windows.DependencyObject -> System.Windows.Automation.AutomationHeadingLevel
Public Shared Function GetHeadingLevel (element As DependencyObject) As AutomationHeadingLevel

參數

傳回

AutomationHeadingLevel

適用於