LEADTOOLS Medical (Leadtools.Medical3D assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
Dock Property
See Also 
Leadtools.Medical3D Namespace > Medical3DControl Class : Dock Property



Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<RefreshPropertiesAttribute(RefreshProperties.Repaint)>
<SRDescriptionAttribute("Defines which borders of the control are bound to the container. ")>
<LocalizableAttribute(True)>
<SRCategoryAttribute("Layout")>
Public Overridable Property Dock As DockStyle
Visual Basic (Usage)Copy Code
Dim instance As Medical3DControl
Dim value As DockStyle
 
instance.Dock = value
 
value = instance.Dock
C# 
[DefaultValueAttribute()]
[RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[SRDescriptionAttribute("Defines which borders of the control are bound to the container. ")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
public virtual DockStyle Dock {get; set;}
C++/CLI 
[DefaultValueAttribute()]
[RefreshPropertiesAttribute(RefreshProperties.Repaint)]
[SRDescriptionAttribute("Defines which borders of the control are bound to the container. ")]
[LocalizableAttribute(true)]
[SRCategoryAttribute("Layout")]
public:
virtual property DockStyle Dock {
   DockStyle get();
   void set (    DockStyle value);
}

Property Value

One of the System.Windows.Forms.DockStyle values. The default is System.Windows.Forms.DockStyle.None.

Exceptions

ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionThe value assigned is not one of the values.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical3D requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features