ToolTipService.SetHasDropShadow(DependencyObject, Boolean) ToolTipService.SetHasDropShadow(DependencyObject, Boolean) ToolTipService.SetHasDropShadow(DependencyObject, Boolean) ToolTipService.SetHasDropShadow(DependencyObject, Boolean) Method

定義

オブジェクトに対する HasDropShadow 添付プロパティの値を設定します。Sets the value of the HasDropShadow attached property for an object.

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

パラメーター

element
DependencyObject DependencyObject DependencyObject DependencyObject

添付プロパティの書き込み対象のオブジェクト。The object to which the attached property is written.

value
Boolean Boolean Boolean Boolean

設定する値。The value to set.

ToolTipService.HasDropShadow添付プロパティの値を設定する方法を次の例に示します。The following example shows how to set the value for the ToolTipService.HasDropShadow attached property.

ToolTipService.SetHasDropShadow(ellipse2, false);
ToolTipService.SetHasDropShadow(ellipse2, False)

適用対象

こちらもご覧ください