Xceed SmartUI for WinForms v3.6 Documentation
Xceed.SmartUI.v3.6 Assembly / Xceed.SmartUI Namespace / SmartItem Class / FitWidthToLayout Property


In This Topic
    FitWidthToLayout Property
    In This Topic
    Gets or sets a boolean value indicating if width of the item should be adjusted to the width of its layout.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Determines if width of the item should be adjusted to the width of its layout.")>
    <CategoryAttribute("Appearance")>
    <BrowsableAttribute(True)>
    <MergablePropertyAttribute(True)>
    <LocalizableAttribute(False)>
    Public Property FitWidthToLayout As Boolean
    'Usage
     
    Dim instance As SmartItem
    Dim value As Boolean
     
    instance.FitWidthToLayout = value
     
    value = instance.FitWidthToLayout
    [Description("Determines if width of the item should be adjusted to the width of its layout.")]
    [Category("Appearance")]
    [Browsable(true)]
    [MergableProperty(true)]
    [Localizable(false)]
    public bool FitWidthToLayout {get; set;}

    Property Value

    true if width of the item should be adjusted to the width of its layout; false otherwise.
    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