Class
RadSpreadsheetSheetSelector

Provides methods and properties for using RadSpreadsheet SheetSelector.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

cs-api-definition
public class RadSpreadsheetSheetSelector : ControlBase, IWeakEventListener

Inheritance: objectControlBaseRadSpreadsheetSheetSelector

Implements: IWeakEventListener

Inherited Members ControlBase.GetTemplateChild<T>(string)ControlBase.GetRequiredTemplateChild<T>(string, bool)

Constructors

RadSpreadsheetSheetSelector()

Initializes a new instance of the RadSpreadsheetSheetSelector class.

Declaration

cs-api-definition
public RadSpreadsheetSheetSelector()

Fields

ActiveTabItemColorProperty

The Dependency property ActiveTabItemColorProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty ActiveTabItemColorProperty

Field Value

DependencyProperty

AreSheetTabItemsOverlappingProperty

The Dependency property AreSheetTabItemsOverlappingProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty AreSheetTabItemsOverlappingProperty

Field Value

DependencyProperty

IsAddButtonVisibleProperty

Is add button visible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsAddButtonVisibleProperty

Field Value

DependencyProperty

IsSheetSelectorVisibleProperty

Is sheet selector visible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsSheetSelectorVisibleProperty

Field Value

DependencyProperty

RadSpreadsheetProperty

The Dependency property RadSpreadsheetProperty.

Declaration

cs-api-definition
public static readonly DependencyProperty RadSpreadsheetProperty

Field Value

DependencyProperty

Properties

ActiveTabItemColor

Gets or sets the color of the active tab item.

Declaration

cs-api-definition
public Color ActiveTabItemColor { get; set; }

Property Value

Color

The color of the active tab item.

AreSheetTabItemsOverlapping

Gets or sets a value indicating whether the sheet tab items are overlapping.

Declaration

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

Property Value

bool

Boolean indicating whether the sheet tab items are overlapping.

RadSpreadsheet

Gets or sets the RadSpreadsheet.

Declaration

cs-api-definition
public RadSpreadsheet RadSpreadsheet { get; set; }

Property Value

RadSpreadsheet

The RadSpreadsheet of the SheetSelector.

RenameSheetCommand

Gets the rename sheet command.

Declaration

cs-api-definition
public ICommand RenameSheetCommand { get; }

Property Value

ICommand

The rename sheet command.

Methods

GetContextMenu()

Gets the context menu.

Declaration

cs-api-definition
public RadContextMenu GetContextMenu()

Returns

RadContextMenu

The context menu.

GetIsAddButtonVisible(DependencyObject)

Gets the is add button visible.

Declaration

cs-api-definition
public static bool GetIsAddButtonVisible(DependencyObject obj)

Parameters

obj

DependencyObject

The dependency object.

Returns

bool

Value indicating if add button is visible.

GetIsSheetSelectorVisible(DependencyObject)

Gets the is sheet selector visible.

Declaration

cs-api-definition
public static bool GetIsSheetSelectorVisible(DependencyObject obj)

Parameters

obj

DependencyObject

The dependency object.

Returns

bool

A value indicating if sheet selector is visible.

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.

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.

SetContextMenu(RadContextMenu)

Sets the context menu.

Declaration

cs-api-definition
public void SetContextMenu(RadContextMenu contextMenu)

Parameters

contextMenu

RadContextMenu

The context menu.

SetIsAddButtonVisible(DependencyObject, bool)

Sets the is add button visible.

Declaration

cs-api-definition
public static void SetIsAddButtonVisible(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The dependency object.

value

bool

The value.

SetIsSheetSelectorVisible(DependencyObject, bool)

Sets the is sheet selector visible.

Declaration

cs-api-definition
public static void SetIsSheetSelectorVisible(DependencyObject obj, bool value)

Parameters

obj

DependencyObject

The dependency object.

value

bool

The value.