ESRI.ArcGIS.ADF.Local
Anchor Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.COMSupport Namespace > OLE Class : Anchor Property




Syntax

Visual Basic (Declaration) 
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
<DefaultValueAttribute()>
<SRDescriptionAttribute("Defines the edges of the container to which a certain control is bound. When a control is anchored to an edge, the distance between the control's closest edge and the specified edge will remain constant. ")>
Public Overridable Property Anchor As AnchorStyles
Visual Basic (Usage)Copy Code
Dim instance As OLE
Dim value As AnchorStyles
 
instance.Anchor = value
 
value = instance.Anchor
C# 
[RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
[DefaultValueAttribute()]
[SRDescriptionAttribute("Defines the edges of the container to which a certain control is bound. When a control is anchored to an edge, the distance between the control's closest edge and the specified edge will remain constant. ")]
public virtual AnchorStyles Anchor {get; set;}

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.