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


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

    Property Value

    true if height of the item should be adjusted to the height 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