Back to Devexpress

IModelSplitLayout.RelativePosition Property

expressappframework-devexpress-dot-expressapp-dot-model-dot-imodelsplitlayout-7fb1801b.md

latest2.1 KB
Original Source

IModelSplitLayout.RelativePosition Property

Specifies the splitter position as a percentage.

Namespace : DevExpress.ExpressApp.Model

Assembly : DevExpress.ExpressApp.v25.2.dll

NuGet Package : DevExpress.ExpressApp

Declaration

csharp
[DefaultValue(-1)]
float RelativePosition { get; set; }
vb
<DefaultValue(-1)>
Property RelativePosition As Single

Property Value

TypeDefaultDescription
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

IModelSplitLayout Interface

IModelSplitLayout Members

DevExpress.ExpressApp.Model Namespace