Class ItemInfo
Represent the ItemInfo Struct
Inheritance
System.Object
ItemInfo
Namespace: Syncfusion.Windows.Tools.Controls
Assembly: Syncfusion.Tools.Wpf.dll
Syntax
public sealed class ItemInfo : ValueType
Constructors
ItemInfo(Int32, Object, Visibility, Boolean, Visibility, Boolean, Boolean, Boolean)
Initializes a new instance of the ItemInfo struct.
Declaration
public ItemInfo(int index, object header, Visibility visibility, bool canClose, Visibility closeButtonState, bool ispinned, bool showPin, bool allowPin)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
System.Object | header | The header. |
System.Windows.Visibility | visibility | The visibility. |
System.Boolean | canClose | |
System.Windows.Visibility | closeButtonState | |
System.Boolean | ispinned | |
System.Boolean | showPin | |
System.Boolean | allowPin |
Properties
AllowPin
Gets or sets the value indicating whether the TabItemExt is pinnable or not.
Declaration
public bool AllowPin { get; set; }
Property Value
Type |
---|
System.Boolean |
CanClose
Gets or sets the value indicating whether the TabItemExt is closable or not.
Declaration
public bool CanClose { get; set; }
Property Value
Type |
---|
System.Boolean |
CloseButtonState
Gets or sets the visibility of close button in TabItemExt.
Declaration
public Visibility CloseButtonState { get; set; }
Property Value
Type |
---|
System.Windows.Visibility |
Header
Gets or sets the header.
Declaration
public object Header { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The header. |
Index
Gets or sets the index.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index. |
IsPinned
Gets or sets the value indicating whether the TabItemExt has been pinned in TabControlExt.
Declaration
public bool IsPinned { get; set; }
Property Value
Type |
---|
System.Boolean |
ShowPin
Gets or sets the value indicating whether the pin button should be visible in TabItemExt or not.
Declaration
public bool ShowPin { get; set; }
Property Value
Type |
---|
System.Boolean |
Visibility
Gets or sets the visibility.
Declaration
public Visibility Visibility { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Visibility | The visibility. |