Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: 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