ImageMan.Net Version 3 Summer 2012 Release
Anchor Property
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Viewer Class : Anchor Property





Glossary Item Box

Syntax

Visual Basic (Declaration) 
<System.ComponentModel.LocalizableAttribute(True)>
<System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<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. ")>
Public Overridable Property Anchor As System.Windows.Forms.AnchorStyles
Visual Basic (Usage)Copy Code
Dim instance As Viewer
Dim value As System.Windows.Forms.AnchorStyles
 
instance.Anchor = value
 
value = instance.Anchor
C# 
[System.ComponentModel.LocalizableAttribute(true)]
[System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[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. ")]
public virtual System.Windows.Forms.AnchorStyles Anchor {get; set;}
JScript 
System.ComponentModel.LocalizableAttribute()
System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
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. ")
public function get,set Anchor : System.Windows.Forms.AnchorStyles
Managed Extensions for C++ 
[System.ComponentModel.LocalizableAttribute(true)]
[System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[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. ")]
public: __property virtual System.Windows.Forms.AnchorStyles get_Anchor();
public: __property virtual void set_Anchor( 
   System.Windows.Forms.AnchorStyles value
);
C++/CLI 
[System.ComponentModel.LocalizableAttribute(true)]
[System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[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. ")]
public:
virtual property System.Windows.Forms.AnchorStyles Anchor {
   System.Windows.Forms.AnchorStyles get();
   void set (    System.Windows.Forms.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

© 2014 Data Techniques, Inc. All Rights Reserved.