ToolTipService.GetHasDropShadow(DependencyObject) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オブジェクトの HasDropShadow 添付プロパティの値を取得します。
public:
static bool GetHasDropShadow(System::Windows::DependencyObject ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static bool GetHasDropShadow(System.Windows.DependencyObject element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetHasDropShadow : System.Windows.DependencyObject -> bool
Public Shared Function GetHasDropShadow (element As DependencyObject) As Boolean
パラメーター
- element
- DependencyObject
プロパティ値の読み取り元のオブジェクト。
返品
オブジェクトの HasDropShadow プロパティ値。
- 属性
例
次の例は、 ToolTipService.HasDropShadow 添付プロパティの値を取得する方法を示しています。
FindName メソッドは、ellipse2である Ellipse というオブジェクトを検索します。
bool myBool = ToolTipService.GetHasDropShadow(
(DependencyObject)FindName("ellipse2"));
Dim myBool As Boolean = ToolTipService.GetHasDropShadow(CType(FindName("ellipse2"), DependencyObject))