ToolTipService.GetShowOnDisabled(DependencyObject) 메서드

정의

개체의 ShowOnDisabled 연결된 속성 값을 가져옵니다.

[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetShowOnDisabled (System.Windows.DependencyObject element);

매개 변수

element
DependencyObject

속성 값을 읽어올 개체입니다.

반환

Boolean

개체의 ShowOnDisabled 속성 값입니다.

특성

예제

다음 예제에서는 연결된 속성의 값을 ToolTipService.ShowOnDisabledProperty 가져오는 방법을 보여 있습니다. 메서드는 FindName 호출 ellipse2된 개체를 찾습니다. 이 개체는 .입니다 Ellipse.

myBool = ToolTipService.GetShowOnDisabled(
 (DependencyObject)FindName("ellipse2"));

적용 대상

제품 버전
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8
Windows Desktop 3.0, 3.1, 5, 6, 7

추가 정보