Anchor Property
See Also 
SourceCode.Workflow.WizardFramework.Authentication Namespace > CredentialsDialog Class : Anchor Property



Glossary Item Box

Syntax

Visual Basic (Declaration)  
<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. ")>
<LocalizableAttribute(True)>
<DefaultValueAttribute()>
<SRCategoryAttribute("Layout")>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
Public Overridable Property Anchor As AnchorStyles
Visual Basic (Usage) Copy Code
Dim instance As CredentialsDialog
Dim value As AnchorStyles
 
instance.Anchor = value
 
value = instance.Anchor
C#  
[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. ")]
[Localizable(true)]
[DefaultValue()]
[SRCategory("Layout")]
[RefreshProperties(RefreshProperties.Repaint)]
public virtual AnchorStyles Anchor {get; set;}
C++/CLI  
[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. ")]
[Localizable(true)]
[DefaultValue()]
[SRCategory("Layout")]
[RefreshProperties(RefreshProperties.Repaint)]
public:
virtual property AnchorStyles Anchor {
   AnchorStyles get();
   void set (    AnchorStyles value);
}

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