Skip to main content
All docs
V25.1
  • .NET Framework 4.6.2+

    IModelSplitLayout.RelativePosition Property

    Specifies the splitter position as a percentage.

    Namespace: DevExpress.ExpressApp.Model

    Assembly: DevExpress.ExpressApp.v25.1.dll

    NuGet Package: DevExpress.ExpressApp

    Declaration

    [DefaultValue(-1)]
    float RelativePosition { get; set; }

    Property Value

    Type Default Description
    Single -1

    The splitter position as a percentage. Set to a value between 0 and 100 to move the splitter between top/left and bottom/right View borders.
    -1 if the SplitterPosition property defines the splitter position.

    Remarks

    You can use the Model Editor to specify the RelativePosition property value at design time and runtime. The property value is set automatically when a user moves the splitter.

    The RelativePosition property takes priority over the SplitterPosition property. If RelativePosition value is specified (in UI or in code), the SplitterPosition property is not in effect.

    See Also