ClassRadSpreadsheetSheetSelector
Provides methods and properties for using RadSpreadsheet SheetSelector.
Definition
Namespace:Telerik.Windows.Controls.Spreadsheet.Controls
Assembly:Telerik.Windows.Controls.Spreadsheet.dll
Syntax:
public class RadSpreadsheetSheetSelector : ControlBase, IWeakEventListener
Inheritance: objectControlBaseRadSpreadsheetSheetSelector
Implements:
Inherited Members
Constructors
RadSpreadsheetSheetSelector()
Initializes a new instance of the RadSpreadsheetSheetSelector class.
Declaration
public RadSpreadsheetSheetSelector()
Fields
ActiveTabItemColorProperty
The Dependency property ActiveTabItemColorProperty.
Declaration
public static readonly DependencyProperty ActiveTabItemColorProperty
Field Value
DependencyProperty
AreSheetTabItemsOverlappingProperty
The Dependency property AreSheetTabItemsOverlappingProperty.
Declaration
public static readonly DependencyProperty AreSheetTabItemsOverlappingProperty
Field Value
DependencyProperty
IsAddButtonVisibleProperty
Is add button visible dependency property.
Declaration
public static readonly DependencyProperty IsAddButtonVisibleProperty
Field Value
DependencyProperty
IsSheetSelectorVisibleProperty
Is sheet selector visible dependency property.
Declaration
public static readonly DependencyProperty IsSheetSelectorVisibleProperty
Field Value
DependencyProperty
RadSpreadsheetProperty
The Dependency property RadSpreadsheetProperty.
Declaration
public static readonly DependencyProperty RadSpreadsheetProperty
Field Value
DependencyProperty
Properties
ActiveTabItemColor
Gets or sets the color of the active tab item.
Declaration
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
public bool AreSheetTabItemsOverlapping { get; set; }
Property Value
Boolean indicating whether the sheet tab items are overlapping.
RadSpreadsheet
Gets or sets the RadSpreadsheet.
Declaration
public RadSpreadsheet RadSpreadsheet { get; set; }
Property Value
The RadSpreadsheet of the SheetSelector.
RenameSheetCommand
Gets the rename sheet command.
Declaration
public ICommand RenameSheetCommand { get; }
Property Value
The rename sheet command.
Methods
GetContextMenu()
Gets the context menu.
Declaration
public RadContextMenu GetContextMenu()
Returns
The context menu.
GetIsAddButtonVisible(DependencyObject)
Gets the is add button visible.
Declaration
public static bool GetIsAddButtonVisible(DependencyObject obj)
Parameters
obj
DependencyObject
The dependency object.
Returns
Value indicating if add button is visible.
GetIsSheetSelectorVisible(DependencyObject)
Gets the is sheet selector visible.
Declaration
public static bool GetIsSheetSelectorVisible(DependencyObject obj)
Parameters
obj
DependencyObject
The dependency object.
Returns
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
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
ReceiveWeakEvent(Type, object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
managerType
The type of the calling this method.
sender
Object that originated the event.
e
Event 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.
SetContextMenu(RadContextMenu)
Sets the context menu.
Declaration
public void SetContextMenu(RadContextMenu contextMenu)
Parameters
contextMenu
The context menu.
SetIsAddButtonVisible(DependencyObject, bool)
Sets the is add button visible.
Declaration
public static void SetIsAddButtonVisible(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The dependency object.
value
The value.
SetIsSheetSelectorVisible(DependencyObject, bool)
Sets the is sheet selector visible.
Declaration
public static void SetIsSheetSelectorVisible(DependencyObject obj, bool value)
Parameters
obj
DependencyObject
The dependency object.
value
The value.