Class SheetSelectorTabItem
Provides methods and properties for using SheetSelector's TabItems.
Inheritance
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class SheetSelectorTabItem : Control
Constructors
SheetSelectorTabItem(Sheet)
Initializes a new instance of the SheetSelectorTabItem class.
Declaration
public SheetSelectorTabItem(Sheet sheet)
Parameters
Telerik.Windows.Documents.Spreadsheet.Model.Sheet
sheet
The sheet of this tab item. |
Fields
ColorPaletteProperty
The Dependency property ColorPaletteProperty.
Declaration
public static readonly DependencyProperty ColorPaletteProperty
Field Value
System.Windows.DependencyProperty
|
ContentProperty
The Dependency property ContentProperty.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
System.Windows.DependencyProperty
|
CurrentBackgroundProperty
The Dependency property CurrentBackgroundProperty.
Declaration
public static readonly DependencyProperty CurrentBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
DefaultBackgroundProperty
The Dependency property DefaultBackgroundProperty.
Declaration
public static readonly DependencyProperty DefaultBackgroundProperty
Field Value
System.Windows.DependencyProperty
|
IsHiddenProperty
The Dependency property IsHiddenProperty.
Declaration
public static readonly DependencyProperty IsHiddenProperty
Field Value
System.Windows.DependencyProperty
|
IsMousePointerOverProperty
The Dependency property IsMousePointerOverProperty.
Declaration
public static readonly DependencyProperty IsMousePointerOverProperty
Field Value
System.Windows.DependencyProperty
|
SheetNameProperty
The Dependency property SheetNameProperty.
Declaration
public static readonly DependencyProperty SheetNameProperty
Field Value
System.Windows.DependencyProperty
|
ThemableBackgroundColorProperty
The Dependency property ThemableBackgroundColorProperty.
Declaration
public static readonly DependencyProperty ThemableBackgroundColorProperty
Field Value
System.Windows.DependencyProperty
|
ZIndexProperty
The Dependency property ZIndexProperty.
Declaration
public static readonly DependencyProperty ZIndexProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ColorPalette
Gets or sets the color palette.
Declaration
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value
SpreadsheetColorPalette
The color palette. |
Content
Gets or sets the content of the tab item.
Declaration
public object Content { get; set; }
Property Value
System.Object
The content of the tab item. |
CurrentBackground
Gets or sets the current background.
Declaration
public Brush CurrentBackground { get; set; }
Property Value
System.Windows.Media.Brush
The current background. |
DefaultBackground
Gets or sets the default background.
Declaration
public SolidColorBrush DefaultBackground { get; set; }
Property Value
System.Windows.Media.SolidColorBrush
The default background. |
IsHidden
Gets or sets a value indicating whether the tab item is hidden.
Declaration
public bool IsHidden { get; set; }
Property Value
System.Boolean
The hidden state. |
IsMousePointerOver
Gets a value indicating whether the mouse pointer is over.
Declaration
public bool IsMousePointerOver { get; }
Property Value
System.Boolean
The MousePointerOver state as Boolean. |
Sheet
Gets the sheet of this tab item.
Declaration
public Sheet Sheet { get; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.Sheet
The sheet. |
SheetName
Gets or sets the name of the sheet.
Declaration
public string SheetName { get; set; }
Property Value
System.String
The name of the sheet. |
State
Gets or sets the state of this tabItem.
Declaration
public SheetSelectorTabItemState State { get; set; }
Property Value
SheetSelectorTabItemState
The state of this tabItem. |
ThemableBackgroundColor
Gets or sets the themable background color.
Declaration
public ThemableColor ThemableBackgroundColor { get; set; }
Property Value
Telerik.Windows.Documents.Spreadsheet.Model.ThemableColor
The themable background color. |
ZIndex
Gets or sets the Z Index.
Declaration
public int ZIndex { get; set; }
Property Value
System.Int32
The Z Index. |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnMouseLeftButtonDoubleClick()
Called when the mouse left button is double clicked.
Declaration
protected virtual void OnMouseLeftButtonDoubleClick()
OnRenamed()
Called when renamed.
Declaration
protected virtual void OnRenamed()
OnStateChanged()
Called when the state is changed.
Declaration
protected virtual void OnStateChanged()
Events
MouseLeftButtonDoubleClick
Occurs when MouseLeftButton double-clicks on the tab item.
Declaration
public event EventHandler MouseLeftButtonDoubleClick
Event Type
System.EventHandler
|
Renamed
Occurs when name of the tab item is changed.
Declaration
public event EventHandler Renamed
Event Type
System.EventHandler
|
StateChanged
Occurs when the state of the tab item is changed.
Declaration
public event EventHandler StateChanged
Event Type
System.EventHandler
|