次の方法で共有


WindowChrome.GetIsHitTestVisibleInChrome メソッド

指定した入力要素から IsHitTestVisibleInChrome 添付プロパティの値を取得します。

名前空間:  Microsoft.Windows.Shell
アセンブリ:  Microsoft.Windows.Shell (Microsoft.Windows.Shell.dll 内)

構文

'宣言
Public Shared Function GetIsHitTestVisibleInChrome ( _
    inputElement As IInputElement _
) As Boolean
public static bool GetIsHitTestVisibleInChrome(
    IInputElement inputElement
)
public:
static bool GetIsHitTestVisibleInChrome(
    IInputElement^ inputElement
)
static member GetIsHitTestVisibleInChrome : 
        inputElement:IInputElement -> bool 
public static function GetIsHitTestVisibleInChrome(
    inputElement : IInputElement
) : boolean

パラメーター

戻り値

型: System.Boolean
IsHitTestVisibleInChrome 添付プロパティの値。

例外

例外 条件
ArgumentNullException

inputElement は null なので、

ArgumentException

inputElement が DependencyObject ではありません。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

WindowChrome クラス

Microsoft.Windows.Shell 名前空間