Back to Devexpress

BarItem.SectorIndex Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritem-5e715c7b.md

latest2.0 KB
Original Source

BarItem.SectorIndex Property

Gets or sets the index of the sector in which the current bar item is displayed. This is a dependency property.

Namespace : DevExpress.Xpf.Bars

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public int SectorIndex { get; set; }
vb
Public Property SectorIndex As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the index of the sector in which the current bar item is displayed. The default is -1 ;

|

Remarks

The SectorIndex property is in effect if the current bar item is displayed in a RadialContextMenu.

The RadialContextMenu is visually divided into sectors, each of which can contain a menu item or be empty. The number of sectors depends on number of menu items displayed in the RadialContextMenu and cannot be less then the value specified by the RadialContextMenu.MinSectorCount property. The sectors are indexed clockwise starting from zero at midnight. The SectorIndex property specifies the index of the sector in which the current bar item is displayed.

See Also

FirstSectorIndex

SectorIndex

BarItem Class

BarItem Members

DevExpress.Xpf.Bars Namespace