ClassRadSpreadsheetSheetSelector
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public class RadSpreadsheetSheetSelector : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementRadSpreadsheetSheetSelector
Implements:
Inherited Members
Constructors
RadSpreadsheetSheetSelector()
Declaration
public RadSpreadsheetSheetSelector()
Fields
Properties
ActiveWorksheetEditor
Declaration
public RadWorksheetEditor ActiveWorksheetEditor { get; }
Property Value
EnableScrollingAnimation
Declaration
public bool EnableScrollingAnimation { get; set; }
Property Value
RenameSheetCommand
Gets the rename sheet command.
Declaration
public ICommand RenameSheetCommand { get; }
Property Value
The rename sheet command.
ScrollAnimation
Declaration
public AnimatedPropertySetting ScrollAnimation { get; }
Property Value
ScrollBar
Declaration
public RadScrollBarElement ScrollBar { get; }
Property Value
ScrollOffset
Gets the scroll offset applied to the sheet tabs.
Declaration
[Browsable(false)]
public int ScrollOffset { get; }
Property Value
SpreadsheetElement
Declaration
public RadSpreadsheetElement SpreadsheetElement { get; }
Property Value
Methods
AddInsertSheetTabItem()
Declaration
protected virtual void AddInsertSheetTabItem()
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
AttachToActiveWorksheetEditorEventsEvents()
Declaration
protected virtual void AttachToActiveWorksheetEditorEventsEvents()
AttachToSheetSelectorElementEvents()
Declaration
protected virtual void AttachToSheetSelectorElementEvents()
AttachToSheetsCollectionEvents(SheetCollection)
Declaration
protected virtual void AttachToSheetsCollectionEvents(SheetCollection sheets)
Parameters
sheets
BeginEdit()
Declaration
public virtual void BeginEdit()
CancelEdit()
Declaration
public virtual void CancelEdit()
CreateAddNewSheetSelectorTabItem()
Declaration
protected virtual AddNewSheetSelectorTabItem CreateAddNewSheetSelectorTabItem()
Returns
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
CreateDefaultSheetSelectorContextMenu()
Declaration
public virtual RadContextMenu CreateDefaultSheetSelectorContextMenu()
Returns
CreateGoToFirstButton()
Declaration
protected virtual RadButtonElement CreateGoToFirstButton()
Returns
CreateGoToLastButton()
Declaration
protected virtual RadButtonElement CreateGoToLastButton()
Returns
CreateGoToNextButton()
Declaration
protected virtual RadButtonElement CreateGoToNextButton()
Returns
CreateGoToPreviosButton()
Declaration
protected virtual RadButtonElement CreateGoToPreviosButton()
Returns
CreateNewSheetSelectorTabItem(Sheet)
Declaration
protected virtual SheetSelectorTabItem CreateNewSheetSelectorTabItem(Sheet sheet)
Parameters
sheet
Returns
CreateSheetTabItemsContainer()
Declaration
protected virtual SheetTabItemsContainerElement CreateSheetTabItemsContainer()
Returns
DetachFromActiveWorksheetEditorEventsEvents()
Declaration
protected virtual void DetachFromActiveWorksheetEditorEventsEvents()
DetachFromSheetSelectorElementEvents()
Declaration
protected virtual void DetachFromSheetSelectorElementEvents()
DetachFromSheetsCollectionEvents(SheetCollection)
Declaration
protected virtual void DetachFromSheetsCollectionEvents(SheetCollection sheets)
Parameters
sheets
DisposeManagedResources()
Disposes of managed resources including cached images and SVG images when the element is being disposed.
Declaration
protected override void DisposeManagedResources()
Overrides
EndEdit()
Declaration
public virtual void EndEdit()
EndEditCore(bool)
Declaration
protected virtual void EndEditCore(bool commit)
Parameters
commit
EnsureDefaultContextMenu()
Declaration
protected virtual void EnsureDefaultContextMenu()
InitializeFields()
Initializes the internal fields and components of the LightVisualElement. This method sets up text primitives, image primitives, and layout management components.
Declaration
protected override void InitializeFields()
Overrides
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Handles property change events by invalidating the fill cache and invoking the base class property change handler.
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
e
Event arguments containing information about the property that changed.
Overrides
OnUnloaded(ComponentThemableElementTree)
Notifies that the element has been successfully unloaded from an element tree. Allows inheritors to provide custom logic at this stage.
Declaration
protected override void OnUnloaded(ComponentThemableElementTree oldTree)
Parameters
oldTree
Reference to the element tree from which the element has been unloaded.
Overrides
RenameSheet(SheetSelectorTabItem, string)
Declaration
protected virtual bool RenameSheet(SheetSelectorTabItem tabItem, string name)
Parameters
tabItem
name
Returns
SetDarkIcons()
Declaration
protected virtual void SetDarkIcons()
SetStandardIcons()
Declaration
protected virtual void SetStandardIcons()
ShowSheetSelectorContextMenu(SheetSelectorTabItem, MouseEventArgs)
Declaration
protected virtual void ShowSheetSelectorContextMenu(SheetSelectorTabItem currentItem, MouseEventArgs e)
Parameters
currentItem
e
UpdateIconSet()
Declaration
public virtual void UpdateIconSet()