Back to Devexpress

ToolBarControlBase.BarItemHorizontalIndent Property

wpf-devexpress-dot-xpf-dot-bars-dot-toolbarcontrolbase-77d3367b.md

latest2.3 KB
Original Source

ToolBarControlBase.BarItemHorizontalIndent Property

Gets or sets the horizontal interval between the tool bar’s items. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public double BarItemHorizontalIndent { get; set; }
vb
Public Property BarItemHorizontalIndent As Double

Property Value

TypeDescription
Double

A Double value that specifies the horizontal interval between the tool bar’s items. The default is 0.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarItemHorizontalIndent property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-bars-visually-separate-bar-items/CS/BarItemLinkSeparatorEx/Window1.xaml#L14

xml
<dxb:BarContainerControl Grid.Row="0">
    <dxb:ToolBarControl Caption="Main Toolbar" BarItemHorizontalIndent="10">
        <dxb:BarButtonItem Content="Undo" Glyph="{dx:DXImage Image=undo16x16.png}" ItemClick="itemClick"/>

See Also

BarItemVerticalIndent

ToolBarControlBase Class

ToolBarControlBase Members

DevExpress.Xpf.Bars Namespace