Class BarItemState
Represents the state of a RibbonBar item, including its header, tab index, and original positioning information used for layout or restoration.
Inheritance
System.Object
BarItemState
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Tools
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public class BarItemState
Constructors
BarItemState()
Initializes a new instance of the BarItemState class.
Declaration
public BarItemState()
BarItemState(String, Int32, String, Int32)
Instantiates a new instance of BarItemState
Declaration
public BarItemState(string header, int tabIndex, string originalHeader, int originalindex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | header | |
| System.Int32 | tabIndex | |
| System.String | originalHeader | |
| System.Int32 | originalindex |
Properties
Header
Gets or sets the RibbonBar header
Declaration
public string Header { get; set; }
Property Value
| Type |
|---|
| System.String |
OriginalHeader
Gets or sets the original header if menu item
Declaration
public string OriginalHeader { get; set; }
Property Value
| Type |
|---|
| System.String |
OriginalIndex
Gets or sets the original index of tab
Declaration
public int OriginalIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |
TabIndex
Gets or sets the Tab index
Declaration
public int TabIndex { get; set; }
Property Value
| Type |
|---|
| System.Int32 |