←Select platform

RestrictDesigners Property

Summary
Gets or sets a value that indicates whether the object should be restricted to a point inside the rectangle set in ClipRectangle.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual bool RestrictDesigners { get; set; } 
@property (nonatomic, assign) BOOL restrictDesigners; 
public boolean getRestrictDesigners() 
public void setRestrictDesigners(boolean value) 
public:  
   virtual property bool RestrictDesigners 
   { 
      bool get() 
      void set(bool value) 
   } 
RestrictDesigners # get and set (AnnDesigner) 

Property Value

It is true if the object should be restricted to a point inside inside the rectangle set in ClipRectangle; otherwise, false. The default value is false.

Remarks

The framework supports restricting an object inside its container when it is being drawn or edited. When the mouse cursor or touch pointer is used to draw or edit an object, the designer will call ClipPoint to restrict the position of the cursor or touch pointer to a point inside the rectangle set in ClipRectangle.

By default, the value of ClipRectangle is set to the location and boundary of the Container. In such cases the designer restricts the user from drawing or moving (editing) an object or any of its points outside the container.

Override this behavior by implementing a custom clipping area in ClipRectangle or overriding the ClipPoint method.

Neither the ClipRectangle nor the ClipPoint are used when the value of RestrictDesigners is false.

Requirements

Target Platforms

Help Version 23.0.2024.5.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.