Gets or sets the edges of the container to which a control is bound and determines how a
control is resized with its parent.
| C# | Visual Basic | Visual C++ |
public AnchorStyles Anchor { get; set; }
Public Property Anchor As AnchorStyles
public: property AnchorStyles Anchor { AnchorStyles get (); void set (AnchorStyles value); }
Supported only in RanorexPro and .NET 2.0.
| Exception | Condition |
|---|---|
| NotSupportedException | Thrown when the property is not available. |
