ClassSheetSelectorTabItem
Provides methods and properties for using SheetSelector's TabItems.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class SheetSelectorTabItem : Control, IWeakEventListener
Inheritance: objectSheetSelectorTabItem
Implements:
Constructors
SheetSelectorTabItem(Sheet)
Initializes a new instance of the SheetSelectorTabItem class.
Declaration
public SheetSelectorTabItem(Sheet sheet)
Parameters
sheet
Sheet
The sheet of this tab item.
Fields
ColorPaletteProperty
The Dependency property ColorPaletteProperty.
Declaration
public static readonly DependencyProperty ColorPaletteProperty
Field Value
DependencyProperty
ContentProperty
The Dependency property ContentProperty.
Declaration
public static readonly DependencyProperty ContentProperty
Field Value
DependencyProperty
CurrentBackgroundProperty
The Dependency property CurrentBackgroundProperty.
Declaration
public static readonly DependencyProperty CurrentBackgroundProperty
Field Value
DependencyProperty
DefaultBackgroundProperty
The Dependency property DefaultBackgroundProperty.
Declaration
public static readonly DependencyProperty DefaultBackgroundProperty
Field Value
DependencyProperty
IsHiddenProperty
The Dependency property IsHiddenProperty.
Declaration
public static readonly DependencyProperty IsHiddenProperty
Field Value
DependencyProperty
IsMousePointerOverProperty
The Dependency property IsMousePointerOverProperty.
Declaration
public static readonly DependencyProperty IsMousePointerOverProperty
Field Value
DependencyProperty
SheetNameProperty
The Dependency property SheetNameProperty.
Declaration
public static readonly DependencyProperty SheetNameProperty
Field Value
DependencyProperty
ThemableBackgroundColorProperty
The Dependency property ThemableBackgroundColorProperty.
Declaration
public static readonly DependencyProperty ThemableBackgroundColorProperty
Field Value
DependencyProperty
ZIndexProperty
The Dependency property ZIndexProperty.
Declaration
public static readonly DependencyProperty ZIndexProperty
Field Value
DependencyProperty
Properties
ColorPalette
Gets or sets the color palette.
Declaration
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value
The color palette.
Content
Gets or sets the content of the tab item.
Declaration
public object Content { get; set; }
Property Value
The content of the tab item.
CurrentBackground
Gets or sets the current background.
Declaration
public Brush CurrentBackground { get; set; }
Property Value
Brush
The current background.
DefaultBackground
Gets or sets the default background.
Declaration
public SolidColorBrush DefaultBackground { get; set; }
Property Value
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
The hidden state.
IsMousePointerOver
Gets a value indicating whether the mouse pointer is over.
Declaration
public bool IsMousePointerOver { get; }
Property Value
The MousePointerOver state as Boolean.
Sheet
Gets the sheet of this tab item.
Declaration
public Sheet Sheet { get; }
Property Value
Sheet
The sheet.
SheetName
Gets or sets the name of the sheet.
Declaration
public string SheetName { get; set; }
Property Value
The name of the sheet.
State
Gets or sets the state of this tabItem.
Declaration
public SheetSelectorTabItemState State { get; set; }
Property Value
The state of this tabItem.
ThemableBackgroundColor
Gets or sets the themable background color.
Declaration
public ThemableColor ThemableBackgroundColor { get; set; }
Property Value
ThemableColor
The themable background color.
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call .
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnMouseLeftButtonDoubleClick()
Called when the mouse left button is double clicked.
Declaration
protected virtual void OnMouseLeftButtonDoubleClick()
OnStateChanged()
Called when the state is changed.
Declaration
protected virtual void OnStateChanged()
ReceiveWeakEvent(Type, object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
managerType
The type of the calling this method.
sender
Object that originated the event.
e
Event data.
Returns
true if the listener handled the event. It is considered an error by the handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.
Events
MouseLeftButtonDoubleClick
Occurs when MouseLeftButton double-clicks on the tab item.
Declaration
public event EventHandler MouseLeftButtonDoubleClick
Event Value
Renamed
Occurs when name of the tab item is changed.
StateChanged
Occurs when the state of the tab item is changed.