Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.Reporting.v4.3 Assembly / Xceed.Grid.Reporting Namespace / HeaderFooter Class / MaxHeight Property


In This Topic
    MaxHeight Property (HeaderFooter)
    In This Topic
    Gets or sets the maximum height of the header or footer section, in hundredths of an inch.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The maximum height of the header or footer section, in hundredths of an inch. A value of -1 indicates there is no maximum height.")>
    <CategoryAttribute("Appearance")>
    <DefaultValueAttribute(-1)>
    <LocalizableAttribute(True)>
    <EditorAttribute("Xceed.Grid.Reporting.Design.UnitValueEditor, Xceed.Grid.v4.3,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)>
    <EndUserDisplayNameAttribute("Maximum Allowed Height")>
    Public Property MaxHeight As Integer
    'Usage
     
    Dim instance As HeaderFooter
    Dim value As Integer
     
    instance.MaxHeight = value
     
    value = instance.MaxHeight
    [Description("The maximum height of the header or footer section, in hundredths of an inch. A value of -1 indicates there is no maximum height.")]
    [Category("Appearance")]
    [DefaultValue(-1)]
    [Localizable(true)]
    [Editor("Xceed.Grid.Reporting.Design.UnitValueEditor, Xceed.Grid.v4.3,Version=4.3.25208.5768,Culture=neutral,PublicKeyToken=ba83ff368b7563c6", System.Drawing.Design.UITypeEditor)]
    [EndUserDisplayName("Maximum Allowed Height")]
    public int MaxHeight {get; set;}

    Property Value

    A value representing the maximum height of the header or footer section, in hundredths of an inch. By default, -1, indicating that the header or footer section does not have a maximum height.
    Remarks

    The MaxHeight property must be greater than or equal to -1.

    To convert values from a specific Unit to hundredths of an inch, and vice-versa, a UnitConverter can be used.

    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