Class RadSpreadsheetSheetSelector
Provides methods and properties for using RadSpreadsheet SheetSelector.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public class RadSpreadsheetSheetSelector : ControlBase, IWeakEventListener
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
System.Windows.DependencyProperty
|
AreSheetTabItemsOverlappingProperty
The Dependency property AreSheetTabItemsOverlappingProperty.
Declaration
public static readonly DependencyProperty AreSheetTabItemsOverlappingProperty
Field Value
System.Windows.DependencyProperty
|
IsAddButtonVisibleProperty
Is add button visible dependency property.
Declaration
public static readonly DependencyProperty IsAddButtonVisibleProperty
Field Value
System.Windows.DependencyProperty
|
IsSheetSelectorVisibleProperty
Is sheet selector visible dependency property.
Declaration
public static readonly DependencyProperty IsSheetSelectorVisibleProperty
Field Value
System.Windows.DependencyProperty
|
RadSpreadsheetProperty
The Dependency property RadSpreadsheetProperty.
Declaration
public static readonly DependencyProperty RadSpreadsheetProperty
Field Value
System.Windows.DependencyProperty
|
Properties
ActiveTabItemColor
Gets or sets the color of the active tab item.
Declaration
public Color ActiveTabItemColor { get; set; }
Property Value
System.Windows.Media.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
System.Boolean
Boolean indicating whether the sheet tab items are overlapping. |
RadSpreadsheet
Gets or sets the RadSpreadsheet.
Declaration
public RadSpreadsheet RadSpreadsheet { get; set; }
Property Value
RadSpreadsheet
The RadSpreadsheet of the SheetSelector. |
RenameSheetCommand
Gets the rename sheet command.
Declaration
public ICommand RenameSheetCommand { get; }
Property Value
System.Windows.Input.ICommand
The rename sheet command. |
Methods
GetContextMenu()
Gets the context menu.
Declaration
public RadContextMenu GetContextMenu()
Returns
RadContextMenu
The context menu. |
GetIsAddButtonVisible(DependencyObject)
Gets the is add button visible.
Declaration
public static bool GetIsAddButtonVisible(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The dependency object. |
Returns
System.Boolean
Value indicating if add button is visible. |
GetIsSheetSelectorVisible(DependencyObject)
Gets the is sheet selector visible.
Declaration
public static bool GetIsSheetSelectorVisible(DependencyObject obj)
Parameters
System.Windows.DependencyObject
obj
The dependency object. |
Returns
System.Boolean
A value indicating if sheet selector is visible. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs
e
The System.Windows.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
System.Type
managerType
The type of the System.Windows.WeakEventManager calling this method. |
System.Object
sender
Object that originated the event. |
System.EventArgs
e
Event data. |
Returns
System.Boolean
true if the listener handled the event. It is considered an error by the System.Windows.WeakEventManager 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
RadContextMenu
contextMenu
The context menu. |
SetIsAddButtonVisible(DependencyObject, Boolean)
Sets the is add button visible.
Declaration
public static void SetIsAddButtonVisible(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The dependency object. |
System.Boolean
value
The value. |
SetIsSheetSelectorVisible(DependencyObject, Boolean)
Sets the is sheet selector visible.
Declaration
public static void SetIsSheetSelectorVisible(DependencyObject obj, bool value)
Parameters
System.Windows.DependencyObject
obj
The dependency object. |
System.Boolean
value
The value. |