Class
SheetSelectorTabItem

Provides methods and properties for using SheetSelector's TabItems.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class SheetSelectorTabItem : Control, IWeakEventListener

Inheritance: objectSheetSelectorTabItem

Implements: IWeakEventListener

Constructors

SheetSelectorTabItem(Sheet)

Initializes a new instance of the SheetSelectorTabItem class.

Declaration

cs-api-definition
public SheetSelectorTabItem(Sheet sheet)

Parameters

sheet

Sheet

The sheet of this tab item.

Fields

ColorPaletteProperty

The Dependency property ColorPaletteProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ColorPaletteProperty

Field Value

DependencyProperty

ContentProperty

The Dependency property ContentProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ContentProperty

Field Value

DependencyProperty

CurrentBackgroundProperty

The Dependency property CurrentBackgroundProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty CurrentBackgroundProperty

Field Value

DependencyProperty

DefaultBackgroundProperty

The Dependency property DefaultBackgroundProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultBackgroundProperty

Field Value

DependencyProperty

IsHiddenProperty

The Dependency property IsHiddenProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsHiddenProperty

Field Value

DependencyProperty

IsMousePointerOverProperty

The Dependency property IsMousePointerOverProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty IsMousePointerOverProperty

Field Value

DependencyProperty

SheetNameProperty

The Dependency property SheetNameProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty SheetNameProperty

Field Value

DependencyProperty

ThemableBackgroundColorProperty

The Dependency property ThemableBackgroundColorProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ThemableBackgroundColorProperty

Field Value

DependencyProperty

ZIndexProperty

The Dependency property ZIndexProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ZIndexProperty

Field Value

DependencyProperty

Properties

ColorPalette

Gets or sets the color palette.

Declaration

cs-api-definition
public SpreadsheetColorPalette ColorPalette { get; set; }

Property Value

SpreadsheetColorPalette

The color palette.

Content

Gets or sets the content of the tab item.

Declaration

cs-api-definition
public object Content { get; set; }

Property Value

object

The content of the tab item.

CurrentBackground

Gets or sets the current background.

Declaration

cs-api-definition
public Brush CurrentBackground { get; set; }

Property Value

Brush

The current background.

DefaultBackground

Gets or sets the default background.

Declaration

cs-api-definition
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

cs-api-definition
public bool IsHidden { get; set; }

Property Value

bool

The hidden state.

IsMousePointerOver

Gets a value indicating whether the mouse pointer is over.

Declaration

cs-api-definition
public bool IsMousePointerOver { get; }

Property Value

bool

The MousePointerOver state as Boolean.

Sheet

Gets the sheet of this tab item.

Declaration

cs-api-definition
public Sheet Sheet { get; }

Property Value

Sheet

The sheet.

SheetName

Gets or sets the name of the sheet.

Declaration

cs-api-definition
public string SheetName { get; set; }

Property Value

string

The name of the sheet.

State

Gets or sets the state of this tabItem.

Declaration

cs-api-definition
public SheetSelectorTabItemState State { get; set; }

Property Value

SheetSelectorTabItemState

The state of this tabItem.

ThemableBackgroundColor

Gets or sets the themable background color.

Declaration

cs-api-definition
public ThemableColor ThemableBackgroundColor { get; set; }

Property Value

ThemableColor

The themable background color.

ZIndex

Gets or sets the Z Index.

Declaration

cs-api-definition
public int ZIndex { get; set; }

Property Value

int

The Z Index.

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

OnMouseLeftButtonDoubleClick()

Called when the mouse left button is double clicked.

Declaration

cs-api-definition
protected virtual void OnMouseLeftButtonDoubleClick()

OnRenamed()

Called when renamed.

Declaration

cs-api-definition
protected virtual void OnRenamed()

OnStateChanged()

Called when the state is changed.

Declaration

cs-api-definition
protected virtual void OnStateChanged()

ReceiveWeakEvent(Type, object, EventArgs)

Receives events from the centralized event manager.

Declaration

cs-api-definition
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType

Type

The type of the calling this method.

sender

object

Object that originated the event.

e

EventArgs

Event data.

Returns

bool

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

cs-api-definition
public event EventHandler MouseLeftButtonDoubleClick

Event Value

EventHandler

Renamed

Occurs when name of the tab item is changed.

Declaration

cs-api-definition
public event EventHandler Renamed

Event Value

EventHandler

StateChanged

Occurs when the state of the tab item is changed.

Declaration

cs-api-definition
public event EventHandler StateChanged

Event Value

EventHandler