Nevron .NET Vision
Nevron.UI.WinForm.Controls Namespace / NControlHostCommand Class / PrefferedWidth Property


In This Topic
    PrefferedWidth Property (NControlHostCommand)
    In This Topic
    Gets/sets the preffered width of the hosted control. This value will be used if the control is resized by a layout operation.
    Syntax
    'Declaration
     
    
    <System.ComponentModel.DefaultValueAttribute(120)>
    <System.ComponentModel.DescriptionAttribute("Gets/sets the preffered width of the hosted control. This value will be used if the control is resized by a layout operation.")>
    Public Property PrefferedWidth As System.Integer
    'Usage
     
    
    Dim instance As NControlHostCommand
    Dim value As System.Integer
     
    instance.PrefferedWidth = value
     
    value = instance.PrefferedWidth
    [System.ComponentModel.DefaultValue(120)]
    [System.ComponentModel.Description("Gets/sets the preffered width of the hosted control. This value will be used if the control is resized by a layout operation.")]
    public System.int PrefferedWidth {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