DXSeparator Class
A line that separates neighboring items within your application’s UI.
Namespace: DevExpress.Maui.Core
Assembly: DevExpress.Maui.Core.dll
NuGet Package: DevExpress.Maui.Core
#Declaration
public class DXSeparator :
DXViewBaseCore,
IView,
IElement,
ITransform
#Remarks
#Add DXSeparator to Page
The following code sample displays a DXSeparator item within your application’s UI:
<ContentPage ...
xmlns:dx="clr-namespace:DevExpress.Maui.Core;assembly=DevExpress.Maui.Core">
<Grid>
<!-- ... -->
<dx:DXSeparator />
<!-- ... -->
</Grid>
</ContentPage>
#Handle Loading
You can use the following inherited member to handle the DXSeparator loading:
Property | Description |
---|---|
Is |
Gets or sets whether a DXElement |
Loaded | Fires when the DXElement |
Unloaded | Fires when the DXElement |
#Customize Appearance
You can use the Style inherited property to create a custom style applied to DXSeparator.
#Margins
You can use the following properties to customize DXSeparator margins:
Property | Description |
---|---|
Cap |
Gets or sets the margin near the short side of the DXSeparator. This is a bindable property. |
Side |
Gets or sets the margin that is displayed along the long side of DXSeparator. This is a bindable property. |
#Color
Use the Color property to specify a separator color.
#Orientation
Use the Orientation property to specify a separator orientation.
#Length and Thickness
You can use the following properties to customize DXSeparator length and thickness:
Property | Description |
---|---|
Length | Gets or sets the length of DXSeparator. This is a bindable property. |
Maximum |
Gets or sets the maximum length of DXSeparator. This is a bindable property. |
Minimum |
Gets or sets the minimum length of DXSeparator. This is a bindable property. |
Thickness | Gets or sets the DXSeparator thickness. This is a bindable property. |