Skip to main content
A newer version of this page is available. .
Bar

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public int SectorIndex { get; set; }

Property Value

Type Description
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