maui-devexpress-dot-maui-dot-core-e669f3d8.md
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
[DXLicenseMAUI]
public class DXSeparator :
DXViewBaseCore,
IView,
IElement,
ITransform
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>
You can use the following inherited member to handle the DXSeparator loading:
| Property | Description |
|---|---|
| IsLoaded | Gets or sets whether a DXElementBase descendant is loaded. |
| Loaded | Fires when the DXElementBase descendant is loaded. |
| Unloaded | Fires when the DXElementBase descendant is unloaded. |
You can use the Style inherited property to create a custom style applied to DXSeparator.
You can use the following properties to customize DXSeparator margins:
| Property | Description |
|---|---|
| CapMargin | Gets or sets the margin near the short side of the DXSeparator. This is a bindable property. |
| SideMargin | Gets or sets the margin that is displayed along the long side of DXSeparator. This is a bindable property. |
Use the Color property to specify a separator color.
Use the Orientation property to specify a separator orientation.
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. |
| MaximumLength | Gets or sets the maximum length of DXSeparator. This is a bindable property. |
| MinimumLength | 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. |
Show 15 items
Microsoft.Maui.Controls.ITabStopElement
Microsoft.Maui.IFrameworkElement
System.Object BindableObject Element NavigableElement VisualElement View DevExpress.Maui.Core.Internal.DXViewElement DevExpress.Maui.Core.Internal.DXViewBaseCore DXSeparator
See Also