Class RadSheetEditorBase
Provides the base class from which the classes that represent RadSheetEditors are derived.
Inherited Members
Namespace: Telerik.Windows.Controls.Spreadsheet
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
public abstract class RadSheetEditorBase : ControlBase, IRadSheetEditor, ICommandDescriptorsProvider, ISheetEditor, IUILayerOwner
Constructors
RadSheetEditorBase()
Initializes a new instance of the Rad
Declaration
protected RadSheetEditorBase()
Fields
AllowScalingProperty
Allow scaling dependency property.
Declaration
public static readonly DependencyProperty AllowScalingProperty
Field Value
System.
|
ScaleFactorProperty
Scale factor dependency property.
Declaration
public static readonly DependencyProperty ScaleFactorProperty
Field Value
System.
|
Properties
AllowScaling
Gets or sets a value indicating whether scaling is allowed.
Declaration
public bool AllowScaling { get; set; }
Property Value
System. The value indicating whether scaling is allowed. |
Implements
CommandDescriptors
Gets or sets the command descriptors.
Declaration
public CommandDescriptors CommandDescriptors { get; protected set; }
Property Value
Command The command descriptors. |
Implements
KeyBindings
Gets the key bindings.
Declaration
public KeyBindings KeyBindings { get; }
Property Value
Key The key bindings. |
Owner
Gets or sets the owner.
Declaration
public RadSpreadsheet Owner { get; set; }
Property Value
Rad The owner. |
Implements
ScaleFactor
Gets or sets the scale factor.
Declaration
public Size ScaleFactor { get; set; }
Property Value
System. The scale factor. |
Implements
ScrollBarsProvider
Gets or sets the scroll bars provider.
Declaration
public IScrollBarsProvider ScrollBarsProvider { get; set; }
Property Value
IScroll The scroll bars provider. |
Implements
SheetViewport
Gets the sheet viewport.
Declaration
public abstract SheetViewport SheetViewport { get; }
Property Value
Telerik. The sheet viewport. |
Implements
Methods
DoOnSheetChanged()
Called when the sheet is changed.
Declaration
protected void DoOnSheetChanged()
DoOnSheetChanging()
Called when the sheet is changing.
Declaration
protected void DoOnSheetChanging()
GetSheetValue()
Gets the sheet value.
Declaration
protected Sheet GetSheetValue()
Returns
Telerik. The sheet. |
IsSheetValid(Sheet)
Determines whether the sheet is valid.
Declaration
protected abstract bool IsSheetValid(Sheet sheet)
Parameters
Telerik. The sheet. |
Returns
System.
|
OnCommandDescriptorsChanged()
Raises the Command
Declaration
protected virtual void OnCommandDescriptorsChanged()
OnKeyDown(KeyEventArgs)
Invoked when an unhandled System.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System. The System. |
OnOwnerChanged()
Called when the owner is changed.
Declaration
protected virtual void OnOwnerChanged()
OnOwnerChanging()
Raises the Owner
Declaration
protected virtual void OnOwnerChanging()
OnOwnerTemplateApplying()
Raises the Owner
Declaration
protected virtual void OnOwnerTemplateApplying()
OnPreviewSheetChanged()
Raises the Preview
Declaration
protected virtual void OnPreviewSheetChanged()
OnPreviewSheetChanging()
Raises the Preview
Declaration
protected virtual void OnPreviewSheetChanging()
OnScaleFactorChanged()
Raises the Scale
Declaration
protected virtual void OnScaleFactorChanged()
OnScrollBarProviderChanged()
Called when the scroll bar provider is changed.
Declaration
protected virtual void OnScrollBarProviderChanged()
OnScrollBarProviderChanging()
Called when the scroll bar provider is changing.
Declaration
protected virtual void OnScrollBarProviderChanging()
OnSheetChanged()
Raises the Sheet
Declaration
protected virtual void OnSheetChanged()
OnSheetChanging()
Raises the Sheet
Declaration
protected virtual void OnSheetChanging()
OnUICommandError(UICommandErrorEventArgs)
Raises the UICommand
Declaration
protected virtual void OnUICommandError(UICommandErrorEventArgs args)
Parameters
UICommand The UICommand |
OnUICommandExecuted(UICommandExecutedEventArgs)
Raises the UICommand
Declaration
protected virtual void OnUICommandExecuted(UICommandExecutedEventArgs args)
Parameters
UICommand The UICommand |
OnUICommandExecuting(UICommandExecutingEventArgs)
Raises the UICommand
Declaration
protected virtual void OnUICommandExecuting(UICommandExecutingEventArgs args)
Parameters
UICommand The UICommand |
PreserveSheetViewState(ISheetViewState)
Preserves the view state of the sheet.
Declaration
protected abstract void PreserveSheetViewState(ISheetViewState viewState)
Parameters
Telerik. View state of the sheet. |
RestoreSheetViewState(ISheetViewState)
Restores the view state of the sheet.
Declaration
protected abstract void RestoreSheetViewState(ISheetViewState viewState)
Parameters
Telerik. View state of the sheet. |
SetHorizontalOffset(Double)
Sets the horizontal offset.
Declaration
public abstract void SetHorizontalOffset(double offset)
Parameters
System. The offset. |
Implements
SetSheetValue(Sheet)
Sets the sheet value.
Declaration
protected void SetSheetValue(Sheet sheet)
Parameters
Telerik. The sheet. |
SetVerticalOffset(Double)
Sets the vertical offset.
Declaration
public abstract void SetVerticalOffset(double offset)
Parameters
System. The offset. |
Implements
Events
CommandDescriptorsChanged
Occurs when the command descriptors are changed.
Declaration
public event EventHandler CommandDescriptorsChanged
Event Type
System.
|
Implements
PreviewSheetChanged
Occurs just before the sheet changing ends.
Declaration
public event EventHandler PreviewSheetChanged
Event Type
System.
|
PreviewSheetChanging
Occurs just before the sheet changing begins.
Declaration
public event EventHandler PreviewSheetChanging
Event Type
System.
|
ScaleFactorChanged
Occurs when the scale factor is changed.
Declaration
public event EventHandler ScaleFactorChanged
Event Type
System.
|
Implements
SheetChanged
Occurs when the sheet is changed.
Declaration
public event EventHandler SheetChanged
Event Type
System.
|
SheetChanging
Occurs when the sheet is changing.
Declaration
public event EventHandler SheetChanging
Event Type
System.
|
UICommandError
Occurs on UI command error.
Declaration
public event EventHandler<UICommandErrorEventArgs> UICommandError
Event Type
System.
|
Implements
UICommandExecuted
Occurs when the UI command is executed.
Declaration
public event EventHandler<UICommandExecutedEventArgs> UICommandExecuted
Event Type
System.
|
Implements
UICommandExecuting
Occurs when the UI command is executing.
Declaration
public event EventHandler<UICommandExecutingEventArgs> UICommandExecuting
Event Type
System.
|