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
Initializes a new instance of the RadSpreadsheetSheetSelector class.
public RadSpreadsheetSheetSelector()
Fields
ActiveTabItemColorProperty
DependencyProperty
The Dependency property ActiveTabItemColorProperty.
public static readonly DependencyProperty ActiveTabItemColorProperty
AreSheetTabItemsOverlappingProperty
DependencyProperty
The Dependency property AreSheetTabItemsOverlappingProperty.
public static readonly DependencyProperty AreSheetTabItemsOverlappingProperty
IsAddButtonVisibleProperty
DependencyProperty
Is add button visible dependency property.
public static readonly DependencyProperty IsAddButtonVisibleProperty
IsSheetSelectorVisibleProperty
DependencyProperty
Is sheet selector visible dependency property.
public static readonly DependencyProperty IsSheetSelectorVisibleProperty
RadSpreadsheetProperty
DependencyProperty
The Dependency property RadSpreadsheetProperty.
public static readonly DependencyProperty RadSpreadsheetProperty
Properties
ActiveTabItemColor
Color
Gets or sets the color of the active tab item.
public Color ActiveTabItemColor { get; set; }
The color of the active tab item.
Gets or sets a value indicating whether the sheet tab items are overlapping.
public bool AreSheetTabItemsOverlapping { get; set; }
Boolean indicating whether the sheet tab items are overlapping.
Gets or sets the RadSpreadsheet.
public RadSpreadsheet RadSpreadsheet { get; set; }
The RadSpreadsheet of the SheetSelector.
Gets the rename sheet command.
public ICommand RenameSheetCommand { get; }
The rename sheet command.
Methods
Gets the context menu.
Gets the is add button visible.
public static bool GetIsAddButtonVisible(DependencyObject obj)
The dependency object.
Returns:Value indicating if add button is visible.
Gets the is sheet selector visible.
public static bool GetIsSheetSelectorVisible(DependencyObject obj)
The dependency object.
Returns:A value indicating if sheet selector is visible.
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Receives events from the centralized event manager.
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
The type of the calling this method.
senderobjectObject that originated the event.
eEventArgsEvent 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.
Sets the context menu.
public void SetContextMenu(RadContextMenu contextMenu)
The context menu.
Sets the is add button visible.
public static void SetIsAddButtonVisible(DependencyObject obj, bool value)
The dependency object.
valueboolThe value.
Sets the is sheet selector visible.
public static void SetIsSheetSelectorVisible(DependencyObject obj, bool value)
The dependency object.
valueboolThe value.