JAMS Developer Guide
Anchor Property (AgentCtl)


MVPSI.JAMS Namespace > AgentCtl Class : Anchor Property
Syntax
'Declaration
 
<System.ComponentModel.LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
<System.ComponentModel.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. ")>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Overridable Property Anchor As System.Windows.Forms.AnchorStyles
'Usage
 
Dim instance As AgentCtl
Dim value As System.Windows.Forms.AnchorStyles
 
instance.Anchor = value
 
value = instance.Anchor
[System.ComponentModel.Localizable(true)]
[SRCategory("Layout")]
[System.ComponentModel.DefaultValue()]
[SRDescription("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. ")]
[System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
public virtual System.Windows.Forms.AnchorStyles Anchor {get; set;}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AgentCtl Class
AgentCtl Members