DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomViewer Class / Anchor Property






In This Topic
    Anchor Property (DicomViewer)
    In This Topic
    Syntax
    'Declaration
     
    
    <SRCategoryAttribute("CatLayout")>
    <System.ComponentModel.LocalizableAttribute(True)>
    <System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)>
    <SRDescriptionAttribute("ControlAnchorDescr")>
    <System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)>
    Public Overridable Property Anchor As System.Windows.Forms.AnchorStyles
    'Usage
     
    
    Dim instance As DicomViewer
    Dim value As System.Windows.Forms.AnchorStyles
     
    instance.Anchor = value
     
    value = instance.Anchor
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlAnchorDescr")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    public virtual System.Windows.Forms.AnchorStyles Anchor {get; set;}
    public read-write property Anchor: System.Windows.Forms.AnchorStyles; virtual; 
    SRCategoryAttribute("CatLayout")
    System.ComponentModel.LocalizableAttribute()
    System.ComponentModel.DefaultValueAttribute(Mono.Cecil.CustomAttributeArgument)
    SRDescriptionAttribute("ControlAnchorDescr")
    System.ComponentModel.RefreshPropertiesAttribute(RefreshProperties.Repaint)
    public function get,set Anchor : System.Windows.Forms.AnchorStyles
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlAnchorDescr")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    public: __property virtual System.Windows.Forms.AnchorStyles get_Anchor();
    public: __property virtual void set_Anchor( 
       System.Windows.Forms.AnchorStyles value
    );
    [SRCategory("CatLayout")]
    [System.ComponentModel.Localizable(true)]
    [System.ComponentModel.DefaultValue(Mono.Cecil.CustomAttributeArgument)]
    [SRDescription("ControlAnchorDescr")]
    [System.ComponentModel.RefreshProperties(RefreshProperties.Repaint)]
    public:
    virtual property System.Windows.Forms.AnchorStyles Anchor {
       System.Windows.Forms.AnchorStyles get();
       void set (    System.Windows.Forms.AnchorStyles value);
    }
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also