RadSheetEditorBase
Provides the base class from which the classes that represent RadSheetEditors are derived.
Definition
Namespace:Telerik.WinForms.Controls.Spreadsheet
Assembly:Telerik.WinControls.RadSpreadsheet.dll
Syntax:
public abstract class RadSheetEditorBase : ControlBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IRadSheetEditor, ICommandDescriptorsProvider, ISheetEditor, IUILayerOwner
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIElementControlBaseRadSheetEditorBase...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadSheetEditorBase class.
protected RadSheetEditorBase()
Fields
public static readonly RadProperty AllowScalingProperty
public static readonly RadProperty ScaleFactorProperty
Properties
Gets or sets a value indicating whether scaling is allowed.
public bool AllowScaling { get; set; }
The value indicating whether scaling is allowed.
Implements:
Gets or sets the command descriptors.
public CommandDescriptors CommandDescriptors { get; protected set; }
The command descriptors.
Implements:
Gets the key bindings.
public KeyBindings KeyBindings { get; }
The key bindings.
Gets or sets the owner.
public RadSpreadsheetElement Owner { get; set; }
The owner.
Implements:
Gets or sets the scale factor.
public Size ScaleFactor { get; set; }
The scale factor.
Implements:
Gets or sets the scroll bars provider.
public IScrollBarsProvider ScrollBarsProvider { get; set; }
The scroll bars provider.
Implements:
Gets the sheet viewport.
public abstract SheetViewport SheetViewport { get; }
The sheet viewport.
Implements:
Methods
Called when the sheet is changed.
protected void DoOnSheetChanged()
Called when the sheet is changing.
protected void DoOnSheetChanging()
Gets the sheet value.
Raises the event.
protected virtual void OnCommandDescriptorsChanged()
Invoked when an unhandled attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnKeyDown(KeyEventArgs e)
The KeyEventArgs that contains the event data.
Overrides:
Called when the owner is changed.
protected virtual void OnOwnerChanged()
Raises the event.
protected virtual void OnOwnerChanging()
Raises the event.
protected virtual void OnOwnerTemplateApplying()
Raises the event.
protected virtual void OnPreviewSheetChanged()
Raises the event.
protected virtual void OnPreviewSheetChanging()
Raises the event.
protected virtual void OnScaleFactorChanged()
Called when the scroll bar provider is changed.
protected virtual void OnScrollBarProviderChanged()
Called when the scroll bar provider is changing.
protected virtual void OnScrollBarProviderChanging()
Raises the event.
protected virtual void OnSheetChanged()
Raises the event.
protected virtual void OnSheetChanging()
Raises the event.
protected virtual void OnUICommandError(UICommandErrorEventArgs args)
The UICommandErrorEventArgs instance containing the event data.
Raises the event.
protected virtual void OnUICommandExecuted(UICommandExecutedEventArgs args)
The UICommandExecutedEventArgs instance containing the event data.
Raises the event.
protected virtual void OnUICommandExecuting(UICommandExecutingEventArgs args)
The UICommandExecutingEventArgs instance containing the event data.
Preserves the view state of the sheet.
protected abstract void PreserveSheetViewState(ISheetViewState viewState)
View state of the sheet.
Restores the view state of the sheet.
protected abstract void RestoreSheetViewState(ISheetViewState viewState)
View state of the sheet.
Sets the horizontal offset.
public abstract void SetHorizontalOffset(double offset)
The offset.
Implements:
Sets the sheet value.
Sets the vertical offset.
public abstract void SetVerticalOffset(double offset)
The offset.
Implements:
Events
Occurs when the command descriptors are changed.
public event EventHandler CommandDescriptorsChanged
Implements:
public event KeyEventHandler PreviewKeyDown
Occurs just before the sheet changing ends.
public event EventHandler PreviewSheetChanged
Implements:
Occurs just before the sheet changing begins.
public event EventHandler PreviewSheetChanging
Implements:
Occurs when the scale factor is changed.
public event EventHandler ScaleFactorChanged
Implements:
Occurs when the sheet is changed.
public event EventHandler SheetChanged
Implements:
Occurs when the sheet is changing.
public event EventHandler SheetChanging
Implements:
Occurs on UI command error.
public event EventHandler<UICommandErrorEventArgs> UICommandError
Implements:
Occurs when the UI command is executed.
public event EventHandler<UICommandExecutedEventArgs> UICommandExecuted
Implements:
Occurs when the UI command is executing.
public event EventHandler<UICommandExecutingEventArgs> UICommandExecuting
Implements: