Class RadSpreadsheet
Represents the RadSpreadsheet control.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Spreadsheet.dll
Syntax
[TelerikToolboxCategory("Documents")]
public class RadSpreadsheet : ControlBase, IScrollBarsProvider, ICommandDescriptorsProvider, IWeakEventListener
Constructors
RadSpreadsheet()
Fields
ActiveSheetEditorProperty
Active sheet editor dependency property.
Declaration
public static readonly DependencyProperty ActiveSheetEditorProperty
Field Value
System.
|
ColorPaletteProperty
Color palette dependency property.
Declaration
public static readonly DependencyProperty ColorPaletteProperty
Field Value
System.
|
CommandDescriptorsProperty
Command descriptors dependency property.
Declaration
public static readonly DependencyProperty CommandDescriptorsProperty
Field Value
System.
|
FillHandleSelectionStrokeProperty
Fill handle selection stroke dependency property.
Declaration
public static readonly DependencyProperty FillHandleSelectionStrokeProperty
Field Value
System.
|
SelectionFillProperty
Selection fill dependency property.
Declaration
public static readonly DependencyProperty SelectionFillProperty
Field Value
System.
|
SelectionStrokeProperty
Selection stroke dependency property.
Declaration
public static readonly DependencyProperty SelectionStrokeProperty
Field Value
System.
|
SelectionStrokeThicknessProperty
Selection stroke thickness dependency property.
Declaration
public static readonly DependencyProperty SelectionStrokeThicknessProperty
Field Value
System.
|
WorkbookProperty
Workbook dependency property.
Declaration
public static readonly DependencyProperty WorkbookProperty
Field Value
System.
|
WorksheetEditorContextMenuProperty
Worksheet editor context menu dependency property.
Declaration
public static readonly DependencyProperty WorksheetEditorContextMenuProperty
Field Value
System.
|
Properties
ActiveSheet
Gets or sets the active sheet.
Declaration
public Sheet ActiveSheet { get; set; }
Property Value
Telerik. The active sheet. |
ActiveSheetEditor
Gets the active sheet editor.
Declaration
public IRadSheetEditor ActiveSheetEditor { get; }
Property Value
IRad The active sheet editor. |
ActiveWorksheet
Gets or sets the active worksheet.
Declaration
public Worksheet ActiveWorksheet { get; set; }
Property Value
Telerik. The active worksheet. |
ActiveWorksheetEditor
Gets or sets the active worksheet editor.
Declaration
public RadWorksheetEditor ActiveWorksheetEditor { get; set; }
Property Value
Rad The active worksheet editor. |
ColorPalette
Gets or sets the color palette.
Declaration
public SpreadsheetColorPalette ColorPalette { get; set; }
Property Value
Spreadsheet The color palette. |
CommandDescriptors
Gets the command descriptors.
Declaration
public CommandDescriptors CommandDescriptors { get; }
Property Value
Command The command descriptors. |
Implements
CreateVisualCellsAutomationPeers
Gets or sets a value indicating whether automation peers for the visible cells should be created
by the owned Rad
Declaration
public bool CreateVisualCellsAutomationPeers { get; set; }
Property Value
System. The value indicating whether automation peers for the visible cells should be created
by the owned Rad |
Remarks
Setting this property to false will stop owned RadSpreadsheetAutomationPeer from creating child automation peers for each of the visible cells. This may increase performance and decrease memory consumption on some touch-enabled computers, where the automation tree is created on application startup.
FillHandleSelectionStroke
Gets or sets the fill handle selection stroke.
Declaration
public Brush FillHandleSelectionStroke { get; set; }
Property Value
System. The fill handle selection stroke. |
FontsProvider
Gets the fonts provider.
Declaration
public FontsProvider FontsProvider { get; }
Property Value
Fonts The fonts provider. |
FormatProviders
Gets a collection of the available format providers.
If format providers are not explicitly added, format providers registered in Telerik.
Declaration
public WorkbookFormatProvidersCollection FormatProviders { get; }
Property Value
Workbook The format providers. |
HorizontalScrollBar
Gets the horizontal scroll bar.
Declaration
public ScrollBar HorizontalScrollBar { get; }
Property Value
System. The horizontal scroll bar. |
Implements
SelectionFill
Gets or sets the selection fill.
Declaration
public Brush SelectionFill { get; set; }
Property Value
System. The selection fill. |
SelectionStroke
Gets or sets the selection stroke.
Declaration
public Brush SelectionStroke { get; set; }
Property Value
System. The selection stroke. |
SelectionStrokeThickness
Gets or sets the selection stroke thickness.
Declaration
public double SelectionStrokeThickness { get; set; }
Property Value
System. The selection stroke thickness. |
SheetSelectorContextMenu
Gets or sets the RadSpreadsheetSheetSelector context menu.
Declaration
public RadContextMenu SheetSelectorContextMenu { get; set; }
Property Value
Rad The RadSpreadsheetSheetSelector context menu. |
Theme
Gets or sets the theme.
Declaration
public DocumentTheme Theme { get; set; }
Property Value
Telerik. The theme. |
ThemesManager
Gets the themes manager.
Declaration
public RadSpreadsheetThemesManager ThemesManager { get; }
Property Value
Rad The themes manager. |
VerticalScrollBar
Gets the vertical scroll bar.
Declaration
public ScrollBar VerticalScrollBar { get; }
Property Value
System. The vertical scroll bar. |
Implements
VisibleSize
Gets or sets the visible size.
Declaration
public SizeI VisibleSize { get; set; }
Property Value
Telerik. The visible size. |
Workbook
Gets or sets the workbook.
Declaration
public Workbook Workbook { get; set; }
Property Value
Telerik. The workbook. |
WorksheetEditorContextMenu
Gets or sets the worksheet editor context menu.
Declaration
public RadContextMenu WorksheetEditorContextMenu { get; set; }
Property Value
Rad The worksheet editor context menu. |
WorksheetUILayersBuilder
Gets or sets the worksheet UI layers builder.
Declaration
public WorksheetUILayersBuilder WorksheetUILayersBuilder { get; set; }
Property Value
Worksheet The worksheet UI layers builder. |
Methods
BeginUndoGroup()
Begins the undo group.
Declaration
public void BeginUndoGroup()
CancelUndoGroup()
Cancels the undo group.
Declaration
public void CancelUndoGroup()
EndUndoGroup()
Ends the undo group.
Declaration
public void EndUndoGroup()
InvalidateLayout()
Invalidates the layout.
Declaration
public void InvalidateLayout()
OnActiveSheetChanged()
Called when the active sheet is changed.
Declaration
protected virtual void OnActiveSheetChanged()
OnActiveSheetEditorChanged()
Called when the active sheet editor is changed.
Declaration
protected virtual void OnActiveSheetEditorChanged()
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific System.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System. The type-specific System. |
OnGotFocus(RoutedEventArgs)
Raises the System.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System. A System. |
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnMessageShowing(MessageShowingEventArgs)
Raises the Message
Declaration
protected virtual void OnMessageShowing(MessageShowingEventArgs args)
Parameters
Message The Message |
OnTemplateApplying()
Called when the template is applying.
Declaration
protected virtual void OnTemplateApplying()
OnWorkbookChanged()
Called when the workbook is changed.
Declaration
protected virtual void OnWorkbookChanged()
OnWorkbookChanging()
Called when the workbook is changing.
Declaration
protected virtual void OnWorkbookChanging()
OnWorkbookCommandError(CommandErrorEventArgs)
Raises the Workbook
Declaration
protected virtual void OnWorkbookCommandError(CommandErrorEventArgs args)
Parameters
Telerik. The Telerik. |
OnWorkbookCommandExecuted(CommandExecutedEventArgs)
Raises the Workbook
Declaration
protected virtual void OnWorkbookCommandExecuted(CommandExecutedEventArgs args)
Parameters
Telerik. The Telerik. |
OnWorkbookCommandExecuting(CommandExecutingEventArgs)
Raises the Workbook
Declaration
protected virtual void OnWorkbookCommandExecuting(CommandExecutingEventArgs args)
Parameters
Telerik. The Telerik. |
Print(PrintWhatSettings, String)
Prints using the specified print what settings.
Declaration
public void Print(PrintWhatSettings printWhatSettings, string printDescription = null)
Parameters
Print The print what settings. |
System. The print description. |
Print(PrintWhatSettings, PrintDialog, String)
Prints using the specified print what settings.
Declaration
public void Print(PrintWhatSettings printWhatSettings, PrintDialog printDialog, string printDescription = null)
Parameters
Print The print what settings. |
System. The print dialog. |
System. The print description. |
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
System. The type of the System. |
System. Object that originated the event. |
System. Event data. |
Returns
System. true if the listener handled the event. It is considered an error by
the System. |
Redo()
Redoes this instance.
Declaration
public bool Redo()
Returns
System.
|
SetHorizontalOffset(Double)
Sets the horizontal offset.
Declaration
public void SetHorizontalOffset(double offset)
Parameters
System. The offset. |
SetVerticalOffset(Double)
Sets the vertical offset.
Declaration
public void SetVerticalOffset(double offset)
Parameters
System. The offset. |
Undo()
Undoes this instance.
Declaration
public bool Undo()
Returns
System.
|
Events
ActiveSheetChanged
Occurs when the active sheet is changed.
Declaration
public event EventHandler ActiveSheetChanged
Event Type
System.
|
ActiveSheetEditorChanged
Occurs when the active sheet editor is changed.
Declaration
public event EventHandler ActiveSheetEditorChanged
Event Type
System.
|
MessageShowing
Occurs when the user is presented with a warning message.
Declaration
public event EventHandler<MessageShowingEventArgs> MessageShowing
Event Type
System.
|
WorkbookChanged
Occurs when the workbook is changed.
Declaration
public event EventHandler WorkbookChanged
Event Type
System.
|
WorkbookChanging
Occurs when the workbook is changing.
Declaration
public event EventHandler WorkbookChanging
Event Type
System.
|
WorkbookCommandError
Occurs when workbook command error occurs.
Declaration
public event EventHandler<CommandErrorEventArgs> WorkbookCommandError
Event Type
System.
|
WorkbookCommandExecuted
Occurs when workbook command is executed.
Declaration
public event EventHandler<CommandExecutedEventArgs> WorkbookCommandExecuted
Event Type
System.
|
WorkbookCommandExecuting
Occurs when workbook command is executing.
Declaration
public event EventHandler<CommandExecutingEventArgs> WorkbookCommandExecuting
Event Type
System.
|
WorkbookContentChanged
Occurs when the workbook content is changed.
Declaration
public event EventHandler WorkbookContentChanged
Event Type
System.
|