SheetSelectorTabItem
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
Initializes a new instance of the SheetSelectorTabItem class.
public SheetSelectorTabItem(Sheet sheet)
The sheet of this tab item.
Fields
ColorPaletteProperty
DependencyProperty
The Dependency property ColorPaletteProperty.
public static readonly DependencyProperty ColorPaletteProperty
ContentProperty
DependencyProperty
The Dependency property ContentProperty.
public static readonly DependencyProperty ContentProperty
CurrentBackgroundProperty
DependencyProperty
The Dependency property CurrentBackgroundProperty.
public static readonly DependencyProperty CurrentBackgroundProperty
DefaultBackgroundProperty
DependencyProperty
The Dependency property DefaultBackgroundProperty.
public static readonly DependencyProperty DefaultBackgroundProperty
IsHiddenProperty
DependencyProperty
The Dependency property IsHiddenProperty.
public static readonly DependencyProperty IsHiddenProperty
IsMousePointerOverProperty
DependencyProperty
The Dependency property IsMousePointerOverProperty.
public static readonly DependencyProperty IsMousePointerOverProperty
SheetNameProperty
DependencyProperty
The Dependency property SheetNameProperty.
public static readonly DependencyProperty SheetNameProperty
ThemableBackgroundColorProperty
DependencyProperty
The Dependency property ThemableBackgroundColorProperty.
public static readonly DependencyProperty ThemableBackgroundColorProperty
ZIndexProperty
DependencyProperty
The Dependency property ZIndexProperty.
public static readonly DependencyProperty ZIndexProperty
Properties
Gets or sets the color palette.
public SpreadsheetColorPalette ColorPalette { get; set; }
The color palette.
Gets or sets the content of the tab item.
public object Content { get; set; }
The content of the tab item.
CurrentBackground
Brush
Gets or sets the current background.
public Brush CurrentBackground { get; set; }
The current background.
DefaultBackground
SolidColorBrush
Gets or sets the default background.
public SolidColorBrush DefaultBackground { get; set; }
The default background.
Gets or sets a value indicating whether the tab item is hidden.
public bool IsHidden { get; set; }
The hidden state.
Gets a value indicating whether the mouse pointer is over.
public bool IsMousePointerOver { get; }
The MousePointerOver state as Boolean.
Sheet
Sheet
Gets the sheet of this tab item.
public Sheet Sheet { get; }
The sheet.
Gets or sets the name of the sheet.
public string SheetName { get; set; }
The name of the sheet.
Gets or sets the state of this tabItem.
public SheetSelectorTabItemState State { get; set; }
The state of this tabItem.
ThemableBackgroundColor
ThemableColor
Gets or sets the themable background color.
public ThemableColor ThemableBackgroundColor { get; set; }
The themable background color.
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Called when the mouse left button is double clicked.
protected virtual void OnMouseLeftButtonDoubleClick()
Called when renamed.
protected virtual void OnRenamed()
Called when the state is changed.
protected virtual void OnStateChanged()
Receives events from the centralized event manager.
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
The type of the calling this method.
senderobjectObject that originated the event.
eEventArgsEvent 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
Occurs when MouseLeftButton double-clicks on the tab item.
public event EventHandler MouseLeftButtonDoubleClick
Occurs when name of the tab item is changed.
public event EventHandler Renamed
Occurs when the state of the tab item is changed.
public event EventHandler StateChanged