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.1.dll

Declaration

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

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