Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
'Usage
Dim instance As DesignerView
Dim value As Boolean
value = instance.IsContentHitTestVisible
instance.IsContentHitTestVisible = value
public bool IsContentHitTestVisible { get; set; }
public:
property bool IsContentHitTestVisible {
bool get ();
void set (bool value);
}
public function get IsContentHitTestVisible () : boolean
public 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