DesignerView.IsContentHitTestVisible Property
Gets or sets whether the content of the DesignerView is hit-tested and can receive mouse and keyboard input.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property IsContentHitTestVisible As Boolean
Get
Set
public bool IsContentHitTestVisible { get; set; }
public:
property bool IsContentHitTestVisible {
bool get ();
void set (bool value);
}
member IsContentHitTestVisible : bool with get, set
function get IsContentHitTestVisible () : boolean
function set IsContentHitTestVisible (value : boolean)
Property Value
Type: System.Boolean
true if the DesignerView content is hit-tested; otherwise, false. The default is false.
Remarks
By default, content that is contained within DesignerView is not hit testable and relies on tools and tasks for user input. Set IsContentHitTestVisible to true to override this behavior and enable direct interaction with the contents of the designer view.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace