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

Provides methods and properties for using RadSpreadsheet SheetSelector.

Definition

Namespace:Telerik.Windows.Controls.Spreadsheet.Controls

Assembly:Telerik.Windows.Controls.Spreadsheet.dll

Syntax:

C#
public class RadSpreadsheetSheetSelector : ControlBase, IWeakEventListener

Inheritance: objectControlBaseRadSpreadsheetSheetSelector

Implements: IWeakEventListener

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

Constructors

Initializes a new instance of the RadSpreadsheetSheetSelector class.

C#
public RadSpreadsheetSheetSelector()

Fields

ActiveTabItemColorProperty

DependencyProperty

The Dependency property ActiveTabItemColorProperty.

C#
public static readonly DependencyProperty ActiveTabItemColorProperty

The Dependency property AreSheetTabItemsOverlappingProperty.

C#
public static readonly DependencyProperty AreSheetTabItemsOverlappingProperty

IsAddButtonVisibleProperty

DependencyProperty

Is add button visible dependency property.

C#
public static readonly DependencyProperty IsAddButtonVisibleProperty

Is sheet selector visible dependency property.

C#
public static readonly DependencyProperty IsSheetSelectorVisibleProperty

RadSpreadsheetProperty

DependencyProperty

The Dependency property RadSpreadsheetProperty.

C#
public static readonly DependencyProperty RadSpreadsheetProperty

Properties

Gets or sets the color of the active tab item.

C#
public Color ActiveTabItemColor { get; set; }
Property Value:

The color of the active tab item.

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

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

Boolean indicating whether the sheet tab items are overlapping.

Gets or sets the RadSpreadsheet.

C#
public RadSpreadsheet RadSpreadsheet { get; set; }
Property Value:

The RadSpreadsheet of the SheetSelector.

Gets the rename sheet command.

C#
public ICommand RenameSheetCommand { get; }
Property Value:

The rename sheet command.

Methods

Gets the context menu.

C#
public RadContextMenu GetContextMenu()
Returns:

RadContextMenu

The context menu.

Gets the is add button visible.

C#
public static bool GetIsAddButtonVisible(DependencyObject obj)
Parameters:objDependencyObject

The dependency object.

Returns:

bool

Value indicating if add button is visible.

Gets the is sheet selector visible.

C#
public static bool GetIsSheetSelectorVisible(DependencyObject obj)
Parameters:objDependencyObject

The dependency object.

Returns:

bool

A value indicating if sheet selector is visible.

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.

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.

Sets the context menu.

C#
public void SetContextMenu(RadContextMenu contextMenu)
Parameters:contextMenuRadContextMenu

The context menu.

Sets the is add button visible.

C#
public static void SetIsAddButtonVisible(DependencyObject obj, bool value)
Parameters:objDependencyObject

The dependency object.

valuebool

The value.

Sets the is sheet selector visible.

C#
public static void SetIsSheetSelectorVisible(DependencyObject obj, bool value)
Parameters:objDependencyObject

The dependency object.

valuebool

The value.