New to Telerik UI for WPFStart a free 30-day trial

Provides methods and properties for using SheetSelector's TabItems.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class SheetSelectorTabItem : Control, IWeakEventListener

Inheritance: objectSheetSelectorTabItem

Implements: IWeakEventListener

Constructors

Initializes a new instance of the SheetSelectorTabItem class.

C#
public SheetSelectorTabItem(Sheet sheet)
Parameters:sheetSheet

The sheet of this tab item.

Fields

ColorPaletteProperty

DependencyProperty

The Dependency property ColorPaletteProperty.

C#
public static readonly DependencyProperty ColorPaletteProperty

ContentProperty

DependencyProperty

The Dependency property ContentProperty.

C#
public static readonly DependencyProperty ContentProperty

CurrentBackgroundProperty

DependencyProperty

The Dependency property CurrentBackgroundProperty.

C#
public static readonly DependencyProperty CurrentBackgroundProperty

DefaultBackgroundProperty

DependencyProperty

The Dependency property DefaultBackgroundProperty.

C#
public static readonly DependencyProperty DefaultBackgroundProperty

IsHiddenProperty

DependencyProperty

The Dependency property IsHiddenProperty.

C#
public static readonly DependencyProperty IsHiddenProperty

IsMousePointerOverProperty

DependencyProperty

The Dependency property IsMousePointerOverProperty.

C#
public static readonly DependencyProperty IsMousePointerOverProperty

SheetNameProperty

DependencyProperty

The Dependency property SheetNameProperty.

C#
public static readonly DependencyProperty SheetNameProperty

The Dependency property ThemableBackgroundColorProperty.

C#
public static readonly DependencyProperty ThemableBackgroundColorProperty

ZIndexProperty

DependencyProperty

The Dependency property ZIndexProperty.

C#
public static readonly DependencyProperty ZIndexProperty

Properties

Gets or sets the color palette.

C#
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value:

The color palette.

Gets or sets the content of the tab item.

C#
public object Content { get; set; }
Property Value:

The content of the tab item.

Gets or sets the current background.

C#
public Brush CurrentBackground { get; set; }
Property Value:

The current background.

DefaultBackground

SolidColorBrush

Gets or sets the default background.

C#
public SolidColorBrush DefaultBackground { get; set; }
Property Value:

The default background.

Gets or sets a value indicating whether the tab item is hidden.

C#
public bool IsHidden { get; set; }
Property Value:

The hidden state.

Gets a value indicating whether the mouse pointer is over.

C#
public bool IsMousePointerOver { get; }
Property Value:

The MousePointerOver state as Boolean.

Sheet

Sheet

Gets the sheet of this tab item.

C#
public Sheet Sheet { get; }
Property Value:

The sheet.

Gets or sets the name of the sheet.

C#
public string SheetName { get; set; }
Property Value:

The name of the sheet.

Gets or sets the state of this tabItem.

C#
public SheetSelectorTabItemState State { get; set; }
Property Value:

The state of this tabItem.

Gets or sets the themable background color.

C#
public ThemableColor ThemableBackgroundColor { get; set; }
Property Value:

The themable background color.

Gets or sets the Z Index.

C#
public int ZIndex { get; set; }
Property Value:

The Z Index.

Methods

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

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Called when the mouse left button is double clicked.

C#
protected virtual void OnMouseLeftButtonDoubleClick()

Called when renamed.

C#
protected virtual void OnRenamed()

Called when the state is changed.

C#
protected virtual void OnStateChanged()

Receives events from the centralized event manager.

C#
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters:managerTypeType

The type of the calling this method.

senderobject

Object that originated the event.

eEventArgs

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

Occurs when MouseLeftButton double-clicks on the tab item.

C#
public event EventHandler MouseLeftButtonDoubleClick

Occurs when name of the tab item is changed.

C#
public event EventHandler Renamed

Occurs when the state of the tab item is changed.

C#
public event EventHandler StateChanged