SpreadsheetControl Methods

Emulates the Microsoft® Excel® look and feel and allows you to create, load, edit, save and print spreadsheet documents.
Name Description
AddHandler(RoutedEvent, Delegate) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Inherited from UIElement.
AddHandler(RoutedEvent, Delegate, Boolean) Adds a routed event handler for a specified routed event, adding the handler to the handler collection on the current element. Specify handledEventsToo as true to have the provided handler be invoked for routed event that had already been marked as handled by another element along the event route. Inherited from UIElement.
AddLogicalChild(Object) protected Adds the provided object to the logical tree of this element. Inherited from FrameworkElement.
AddService(Type, ServiceCreatorCallback) Adds the specified service to the service container.
AddService(Type, ServiceCreatorCallback, Boolean) Adds the specified service to the service container.
AddService(Type, Object) Adds the specified service to the service container.
AddService(Type, Object, Boolean) Adds the specified service to the service container.
AddToEventRoute(EventRoute, RoutedEventArgs) Adds handlers to the specified EventRoute for the current UIElement event handler collection. Inherited from UIElement.
AddVisualChild(Visual) protected Defines the parent-child relationship between two visuals. Inherited from Visual.
ApplyAnimationClock(DependencyProperty, AnimationClock) Applies an animation to a specified dependency property on this element. Any existing animations are stopped and replaced with the new animation. Inherited from UIElement.
ApplyAnimationClock(DependencyProperty, AnimationClock, HandoffBehavior) Applies an animation to a specified dependency property on this element, with the ability to specify what happens if the property already has a running animation. Inherited from UIElement.
ApplyTemplate() Builds the current template's visual tree if necessary, and returns a value that indicates whether the visual tree was rebuilt by this call. Inherited from FrameworkElement.
Arrange(Rect) Positions child elements and determines a size for a UIElement. Parent elements call this method from their ArrangeCore(Rect) implementation (or a WPF framework-level equivalent) to form a recursive layout update. This method constitutes the second pass of a layout update. Inherited from UIElement.
ArrangeCore(Rect) protected Implements ArrangeCore(Rect) (defined as virtual in UIElement) and seals the implementation. Inherited from FrameworkElement.
ArrangeOverride(Size) protected Called to arrange and size the content of a Control object. Inherited from Control.
AssignShortcutKeyToCommand(Keys, Keys, SpreadsheetCommandId) Assigns a shortcut key to a command.
BeginAnimation(DependencyProperty, AnimationTimeline) Starts an animation for a specified animated property on this element. Inherited from UIElement.
BeginAnimation(DependencyProperty, AnimationTimeline, HandoffBehavior) Starts a specific animation for a specified animated property on this element, with the option of specifying what happens if the property already has a running animation. Inherited from UIElement.
BeginInit() Starts the initialization process for this element. Inherited from FrameworkElement.
BeginInvoke(Action) Executes a delegate asynchronously on the thread with which the SpreadsheetControl's Dispatcher is associated.
BeginStoryboard(Storyboard) Begins the sequence of actions that are contained in the provided storyboard. Inherited from FrameworkElement.
BeginStoryboard(Storyboard, HandoffBehavior) Begins the sequence of actions contained in the provided storyboard, with options specified for what should happen if the property is already animated. Inherited from FrameworkElement.
BeginStoryboard(Storyboard, HandoffBehavior, Boolean) Begins the sequence of actions contained in the provided storyboard, with specified state for control of the animation after it is started. Inherited from FrameworkElement.
BeginUpdate() Locks the SpreadsheetControl to prevent its visual updates until the SpreadsheetControl.EndUpdate method is called.
BringIntoView() Attempts to bring this element into view, within any scrollable regions it is contained within. Inherited from FrameworkElement.
BringIntoView(Rect) Attempts to bring the provided region size of this element into view, within any scrollable regions it is contained within. Inherited from FrameworkElement.
CancelUpdate() This method supports the internal infrastructure and is not intended to be called directly from your code. Use the SpreadsheetControl.EndUpdate method instead.
CaptureMouse() Attempts to force capture of the mouse to this element. Inherited from UIElement.
CaptureStylus() Attempts to force capture of the stylus to this element. Inherited from UIElement.
CaptureTouch(TouchDevice) Attempts to force capture of a touch to this element. Inherited from UIElement.
CheckAccess() Determines whether the calling thread has access to this DispatcherObject. Inherited from DispatcherObject.
CircleInvalidData() Displays circles around invalid data in a worksheet to which data validation is applied.
ClearValidationCircles() Hides circles around invalid data in a worksheet to which data validation is applied.
ClearValue(DependencyProperty) Clears the local value of a property. The property to be cleared is specified by a DependencyProperty identifier. Inherited from DependencyObject.
ClearValue(DependencyPropertyKey) Clears the local value of a read-only property. The property to be cleared is specified by a DependencyPropertyKey. Inherited from DependencyObject.
CloseCellEditor(CellEditorEnterValueMode) Closes the cell editor.
CoerceValue(DependencyProperty) Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the dependency property as it exists on the calling DependencyObject. Inherited from DependencyObject.
CreateCommand(SpreadsheetCommandId) Creates a command by its identifier.
CreateNewDocument() Creates and loads a new empty workbook.
Dispose() Disposes the SpreadsheetControl and releases all the allocated resources.
EndInit() Indicates that the initialization process for the element is complete. Inherited from FrameworkElement.
EndUpdate() Unlocks the SpreadsheetControl object after a call to the SpreadsheetControl.BeginUpdate method and causes an immediate visual update.
Equals(Object) Determines whether a provided DependencyObject is equivalent to the current DependencyObject. Inherited from DependencyObject.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
ExportToHtml(Stream, CellRange) Exports the specified range to the specified stream in HTML format.
ExportToHtml(Stream, Worksheet) Exports the specified worksheet to the specified stream in HTML format.
ExportToHtml(Stream, HtmlDocumentExporterOptions) Exports the document's data to the specified stream in HTML format using the specified options.
ExportToHtml(Stream, Int32) Exports the specified worksheet to the specified stream in HTML format.
ExportToHtml(String, CellRange) Exports the specified range to the specified file in HTML format.
ExportToHtml(String, Worksheet) Exports the specified worksheet to the specified file in HTML format.
ExportToHtml(String, HtmlDocumentExporterOptions) Exports the document's data to the specified file in HTML format using the specified options.
ExportToHtml(String, Int32) Exports the specified worksheet to the specified file in HTML format.
ExportToPdf(Stream) Exports the content of the SpreadsheetControl to the specified stream in PDF format.
ExportToPdf(Stream, PdfExportOptions) Exports the content of the SpreadsheetControl to the specified stream in PDF format using the specified options.
ExportToPdf(String) Exports the content of the SpreadsheetControl to the specified file in PDF format.
ExportToPdf(String, PdfExportOptions) Exports the content of the SpreadsheetControl to the specified file in PDF format using the specified options.
FindCommonVisualAncestor(DependencyObject) Returns the common ancestor of two visual objects. Inherited from Visual.
FindName(String) Finds an element that has the provided identifier name. Inherited from FrameworkElement.
FindResource(Object) Searches for a resource with the specified key, and throws an exception if the requested resource is not found. Inherited from FrameworkElement.
Focus() Attempts to set focus to this element. Inherited from UIElement.
GetAnimationBaseValue(DependencyProperty) Returns the base property value for the specified property on this element, disregarding any possible animated value from a running or stopped animation. Inherited from UIElement.
GetBindingExpression(DependencyProperty) Returns the BindingExpression that represents the binding on the specified property. Inherited from FrameworkElement.
GetCellBounds(Int32, Int32) Obtains the coordinates and size of a cell specified by the row and column indices.
GetCellFromPoint(PointF) Gets a worksheet cell located at the specified point.
GetCommand(SpreadsheetCommandId) Obtains a command by the command identifier.
GetFlowDirection(DependencyObject) static Gets the value of the FlowDirection attached property for the specified DependencyObject. Inherited from FrameworkElement.
GetHashCode() Gets a hash code for this DependencyObject. Inherited from DependencyObject.
GetLayoutClip(Size) protected Returns a geometry for a clipping mask. The mask applies if the layout system attempts to arrange an element that is larger than the available display space. Inherited from FrameworkElement.
GetLocalValueEnumerator() Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. Inherited from DependencyObject.
GetSelectedRanges() Gets ranges selected in the active worksheet.
GetSelectedShapes() Returns shapes currently selected in the worksheet.
GetService(Type) Gets the service object of the specified type.
GetService<T>() Gets the specified service.
GetSpreadsheet(DependencyObject) static Gets the value of the SpreadsheetControl.Spreadsheet attached property for the specified DependencyObject.
GetTemplateChild(String) protected Returns the named element in the visual tree of an instantiated ControlTemplate. Inherited from FrameworkElement.
GetType() Gets the Type of the current instance. Inherited from Object.
GetUIParentCore() protected Returns an alternative logical parent for this element if there is no visual parent. Inherited from FrameworkElement.
GetUseDefaultSvgImages(DependencyObject) static Gets the value of the SpreadsheetControl.UseDefaultSvgImages attached property.
GetValue(DependencyProperty) Returns the current effective value of a dependency property on this instance of a DependencyObject. Inherited from DependencyObject.
GetVisualChild(Int32) protected Overrides GetVisualChild(Int32), and returns a child at the specified index from a collection of child elements. Inherited from FrameworkElement.
HitTestCore(GeometryHitTestParameters) protected Implements HitTestCore(GeometryHitTestParameters) to supply base element hit testing behavior (returning GeometryHitTestResult). Inherited from UIElement.
HitTestCore(PointHitTestParameters) protected Implements HitTestCore(PointHitTestParameters) to supply base element hit testing behavior (returning HitTestResult). Inherited from UIElement.
InputHitTest(Point) Returns the input element within the current element that is at the specified coordinates, relative to the current element's origin. Inherited from UIElement.
InvalidateArrange() Invalidates the arrange state (layout) for the element. After the invalidation, the element will have its layout updated, which will occur asynchronously unless subsequently forced by UpdateLayout(). Inherited from UIElement.
InvalidateMeasure() Invalidates the measurement state (layout) for the element. Inherited from UIElement.
InvalidateProperty(DependencyProperty) Re-evaluates the effective value for the specified dependency property. Inherited from DependencyObject.
InvalidateVisual() Invalidates the rendering of the element, and forces a complete new layout pass. OnRender(DrawingContext) is called after the layout cycle is completed. Inherited from UIElement.
IsAncestorOf(DependencyObject) Determines whether the visual object is an ancestor of the descendant visual object. Inherited from Visual.
IsDescendantOf(DependencyObject) Determines whether the visual object is a descendant of the ancestor visual object. Inherited from Visual.
LoadDocument() Invokes the Open modal dialog box.
LoadDocument(Byte[]) Loads the document from a Byte[] array.
LoadDocument(Byte[], DocumentFormat) Loads a document from a byte array.
LoadDocument(Stream) Loads a document from a stream.
LoadDocument(Stream, DocumentFormat) Loads a document from a stream, specifying the document format.
LoadDocument(String) Loads the specified file.
LoadDocument(String, DocumentFormat) Loads a document from a file, specifying the document format.
LoadDocument(IWin32Window) Invokes the Open modal dialog box with the specified owner.
Measure(Size) Updates the DesiredSize of a UIElement. Parent elements call this method from their own MeasureCore(Size) implementations to form a recursive layout update. Calling this method constitutes the first pass (the "Measure" pass) of a layout update. Inherited from UIElement.
MeasureCore(Size) protected Implements basic measure-pass layout system behavior for FrameworkElement. Inherited from FrameworkElement.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MoveFocus(TraversalRequest) Moves the keyboard focus away from this element and to another element in a provided traversal direction. Inherited from FrameworkElement.
OnAccessKey(AccessKeyEventArgs) protected Provides class handling for when an access key that is meaningful for this element is invoked. Inherited from UIElement.
OnApplyTemplate() Called after the template is completely generated and attached to the visual tree.
OnChildDesiredSizeChanged(UIElement) protected Supports layout behavior when a child element is resized. Inherited from UIElement.
OnContextMenuClosing(ContextMenuEventArgs) protected Invoked whenever an unhandled ContextMenuClosing routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnContextMenuOpening(ContextMenuEventArgs) protected Invoked whenever an unhandled ContextMenuOpening routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnCreateAutomationPeer() protected Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure. Inherited from UIElement.
OnDpiChanged(DpiScale, DpiScale) protected Called when the DPI at which this View is rendered changes. Inherited from Visual.
OnDragEnter(DragEventArgs) protected Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDragLeave(DragEventArgs) protected Invoked when an unhandled DragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDragOver(DragEventArgs) protected Invoked when an unhandled DragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnDrop(DragEventArgs) protected Invoked when an unhandled DragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGiveFeedback(GiveFeedbackEventArgs) protected Invoked when an unhandled GiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotFocus(RoutedEventArgs) protected Invoked whenever an unhandled GotFocus event reaches this element in its route. Inherited from FrameworkElement.
OnGotMouseCapture(MouseEventArgs) protected Invoked when an unhandled GotMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotStylusCapture(StylusEventArgs) protected Invoked when an unhandled GotStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnGotTouchCapture(TouchEventArgs) protected Provides class handling for the GotTouchCapture routed event that occurs when a touch is captured to this element. Inherited from UIElement.
OnInitialized(EventArgs) protected Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally. Inherited from FrameworkElement.
OnIsKeyboardFocusedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsKeyboardFocusedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseCapturedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseCapturedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseCaptureWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsMouseDirectlyOverChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsMouseDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusCapturedChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusCapturedChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusCaptureWithinChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusCaptureWithinChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnIsStylusDirectlyOverChanged(DependencyPropertyChangedEventArgs) protected Invoked when an unhandled IsStylusDirectlyOverChanged event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnKeyDown(KeyEventArgs) protected Invoked when an unhandled KeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnKeyUp(KeyEventArgs) protected Invoked when an unhandled KeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostFocus(RoutedEventArgs) protected Raises the LostFocus routed event by using the event data that is provided. Inherited from UIElement.
OnLostMouseCapture(MouseEventArgs) protected Invoked when an unhandled LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostStylusCapture(StylusEventArgs) protected Invoked when an unhandled LostStylusCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnLostTouchCapture(TouchEventArgs) protected Provides class handling for the LostTouchCapture routed event that occurs when this element loses a touch capture. Inherited from UIElement.
OnManipulationBoundaryFeedback(ManipulationBoundaryFeedbackEventArgs) protected Called when the ManipulationBoundaryFeedback event occurs. Inherited from UIElement.
OnManipulationCompleted(ManipulationCompletedEventArgs) protected Called when the ManipulationCompleted event occurs. Inherited from UIElement.
OnManipulationDelta(ManipulationDeltaEventArgs) protected Called when the ManipulationDelta event occurs. Inherited from UIElement.
OnManipulationInertiaStarting(ManipulationInertiaStartingEventArgs) protected Called when the ManipulationInertiaStarting event occurs. Inherited from UIElement.
OnManipulationStarted(ManipulationStartedEventArgs) protected Called when the ManipulationStarted event occurs. Inherited from UIElement.
OnManipulationStarting(ManipulationStartingEventArgs) protected Provides class handling for the ManipulationStarting routed event that occurs when the manipulation processor is first created. Inherited from UIElement.
OnMouseDoubleClick(MouseButtonEventArgs) protected Raises the MouseDoubleClick routed event. Inherited from Control.
OnMouseEnter(MouseEventArgs) protected Invoked when an unhandled MouseEnter attached event is raised on this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseRightButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled MouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseRightButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled MouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnMouseWheel(MouseWheelEventArgs) protected Invoked when an unhandled MouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragEnter(DragEventArgs) protected Invoked when an unhandled PreviewDragEnter attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragLeave(DragEventArgs) protected Invoked when an unhandled PreviewDragLeave attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDragOver(DragEventArgs) protected Invoked when an unhandled PreviewDragOver attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewDrop(DragEventArgs) protected Invoked when an unhandled PreviewDrop attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewGiveFeedback(GiveFeedbackEventArgs) protected Invoked when an unhandled PreviewGiveFeedback attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewGotKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled PreviewGotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewLostKeyboardFocus(KeyboardFocusChangedEventArgs) protected Invoked when an unhandled PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseDoubleClick(MouseButtonEventArgs) protected Raises the PreviewMouseDoubleClick routed event. Inherited from Control.
OnPreviewMouseDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseDown attached routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseLeftButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseLeftButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseLeftButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseLeftButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseMove(MouseEventArgs) protected Invoked when an unhandled PreviewMouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseRightButtonDown(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseRightButtonDown routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseRightButtonUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseRightButtonUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseUp(MouseButtonEventArgs) protected Invoked when an unhandled PreviewMouseUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewMouseWheel(MouseWheelEventArgs) protected Invoked when an unhandled PreviewMouseWheel attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewQueryContinueDrag(QueryContinueDragEventArgs) protected Invoked when an unhandled PreviewQueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusButtonDown(StylusButtonEventArgs) protected Invoked when an unhandled PreviewStylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusButtonUp(StylusButtonEventArgs) protected Invoked when an unhandled PreviewStylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusDown(StylusDownEventArgs) protected Invoked when an unhandled PreviewStylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusInAirMove(StylusEventArgs) protected Invoked when an unhandled PreviewStylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusInRange(StylusEventArgs) protected Invoked when an unhandled PreviewStylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusMove(StylusEventArgs) protected Invoked when an unhandled PreviewStylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusOutOfRange(StylusEventArgs) protected Invoked when an unhandled PreviewStylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusSystemGesture(StylusSystemGestureEventArgs) protected Invoked when an unhandled PreviewStylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewStylusUp(StylusEventArgs) protected Invoked when an unhandled PreviewStylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewTextInput(TextCompositionEventArgs) protected Invoked when an unhandled PreviewTextInput attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnPreviewTouchDown(TouchEventArgs) protected Provides class handling for the PreviewTouchDown routed event that occurs when a touch presses this element. Inherited from UIElement.
OnPreviewTouchMove(TouchEventArgs) protected Provides class handling for the PreviewTouchMove routed event that occurs when a touch moves while inside this element. Inherited from UIElement.
OnPreviewTouchUp(TouchEventArgs) protected Provides class handling for the PreviewTouchUp routed event that occurs when a touch is released inside this element. Inherited from UIElement.
OnQueryContinueDrag(QueryContinueDragEventArgs) protected Invoked when an unhandled QueryContinueDrag attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnQueryCursor(QueryCursorEventArgs) protected Invoked when an unhandled QueryCursor attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnRender(DrawingContext) protected When overridden in a derived class, participates in rendering operations that are directed by the layout system. The rendering instructions for this element are not used directly when this method is invoked, and are instead preserved for later asynchronous use by layout and drawing. Inherited from UIElement.
OnRenderSizeChanged(SizeChangedInfo) protected Raises the SizeChanged event, using the specified information as part of the eventual event data. Inherited from FrameworkElement.
OnStyleChanged(Style, Style) protected Invoked when the style in use on this element changes, which will invalidate the layout. Inherited from FrameworkElement.
OnStylusButtonDown(StylusButtonEventArgs) protected Invoked when an unhandled StylusButtonDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusButtonUp(StylusButtonEventArgs) protected Invoked when an unhandled StylusButtonUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusDown(StylusDownEventArgs) protected Invoked when an unhandled StylusDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusEnter(StylusEventArgs) protected Invoked when an unhandled StylusEnter attached event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusInAirMove(StylusEventArgs) protected Invoked when an unhandled StylusInAirMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusInRange(StylusEventArgs) protected Invoked when an unhandled StylusInRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusLeave(StylusEventArgs) protected Invoked when an unhandled StylusLeave attached event is raised by this element. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusMove(StylusEventArgs) protected Invoked when an unhandled StylusMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusOutOfRange(StylusEventArgs) protected Invoked when an unhandled StylusOutOfRange attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusSystemGesture(StylusSystemGestureEventArgs) protected Invoked when an unhandled StylusSystemGesture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnStylusUp(StylusEventArgs) protected Invoked when an unhandled StylusUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event. Inherited from UIElement.
OnTemplateChanged(ControlTemplate, ControlTemplate) protected Called whenever the control's template changes. Inherited from Control.
OnToolTipClosing(ToolTipEventArgs) protected Invoked whenever an unhandled ToolTipClosing routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnToolTipOpening(ToolTipEventArgs) protected Invoked whenever the ToolTipOpening routed event reaches this class in its route. Implement this method to add class handling for this event. Inherited from FrameworkElement.
OnTouchDown(TouchEventArgs) protected Provides class handling for the TouchDown routed event that occurs when a touch presses inside this element. Inherited from UIElement.
OnTouchEnter(TouchEventArgs) protected Provides class handling for the TouchEnter routed event that occurs when a touch moves from outside to inside the bounds of this element. Inherited from UIElement.
OnTouchLeave(TouchEventArgs) protected Provides class handling for the TouchLeave routed event that occurs when a touch moves from inside to outside the bounds of this UIElement. Inherited from UIElement.
OnTouchMove(TouchEventArgs) protected Provides class handling for the TouchMove routed event that occurs when a touch moves while inside this element. Inherited from UIElement.
OnTouchUp(TouchEventArgs) protected Provides class handling for the TouchUp routed event that occurs when a touch is released inside this element. Inherited from UIElement.
OnVisualChildrenChanged(DependencyObject, DependencyObject) protected Called when the VisualCollection of the visual object is modified. Inherited from Visual.
OnVisualParentChanged(DependencyObject) protected Invoked when the parent of this element in the visual tree is changed. Overrides OnVisualParentChanged(DependencyObject). Inherited from FrameworkElement.
OpenCellEditor(CellEditorMode) Invokes a cell editor and switches to the spreadsheet edit mode, allowing you to edit cell content.
ParentLayoutInvalidated(UIElement) protected Supports incremental layout implementations in specialized subclasses of FrameworkElement. ParentLayoutInvalidated(UIElement) is invoked when a child element has invalidated a property that is marked in metadata as affecting the parent's measure or arrange passes during layout. Inherited from FrameworkElement.
PointFromScreen(Point) Converts a Point in screen coordinates into a Point that represents the current coordinate system of the Visual. Inherited from Visual.
PointToScreen(Point) Converts a Point that represents the current coordinate system of the Visual into a Point in screen coordinates. Inherited from Visual.
PredictFocus(FocusNavigationDirection) Determines the next element that would receive focus relative to this element for a provided focus movement direction, but does not actually move the focus. Inherited from FrameworkElement.
Print() Prints the document to the default printer.
Print(PrinterSettings) Prints the document using the specified printer settings.
RaiseEvent(RoutedEventArgs) Raises a specific routed event. The RoutedEvent to be raised is identified within the RoutedEventArgs instance that is provided (as the RoutedEvent property of that event data). Inherited from UIElement.
ReadLocalValue(DependencyProperty) Returns the local value of a dependency property, if it exists. Inherited from DependencyObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
RegisterName(String, Object) Provides an accessor that simplifies access to the NameScope registration method. Inherited from FrameworkElement.
ReleaseAllTouchCaptures() Releases all captured touch devices from this element. Inherited from UIElement.
ReleaseMouseCapture() Releases the mouse capture, if this element held the capture. Inherited from UIElement.
ReleaseStylusCapture() Releases the stylus device capture, if this element held the capture. Inherited from UIElement.
ReleaseTouchCapture(TouchDevice) Attempts to release the specified touch device from this element. Inherited from UIElement.
RemoveHandler(RoutedEvent, Delegate) Removes the specified routed event handler from this element. Inherited from UIElement.
RemoveLogicalChild(Object) protected Removes the provided object from this element's logical tree. FrameworkElement updates the affected logical tree parent pointers to keep in sync with this deletion. Inherited from FrameworkElement.
RemoveService(Type) Removes the service of the specified type from the service container.
RemoveService(Type, Boolean) Removes the service of the specified type from the service container.
RemoveShortcutKey(Keys, Keys) Removes a command shortcut.
RemoveVisualChild(Visual) protected Removes the parent-child relationship between two visuals. Inherited from Visual.
ReplaceService<T>(T) Performs a service substitution.
ResetLayout() Forces recalculation of the document layout.
SaveDocument() Saves a document to the original file location, and for a new document, the method invokes the Save As modal dialog box.
SaveDocument(DocumentFormat) Saves a document to an array of bytes in the specified format.
SaveDocument(DocumentFormat, EncryptionSettings) Saves a document to an array of bytes in the specified format and with specified encryption settings.
SaveDocument(Stream, DocumentFormat) Saves the workbook to a stream, specifying the export format.
SaveDocument(Stream, DocumentFormat, EncryptionSettings) Saves the workbook to a stream, specifying the export format and encryption settings.
SaveDocument(String) Saves the document to the specified file in the Excel or text format. The file format is identified by the file extension.
SaveDocument(String, DocumentFormat) Saves the control's document to a file, specifying the document's format.
SaveDocument(String, DocumentFormat, EncryptionSettings) Saves the control's document to a file, specifying the document's format and encryption settings.
SaveDocument(String, EncryptionSettings) Saves the document to the specified file with the specified encryption settings. The file format is identified by the file extension.
SaveDocument(IWin32Window) Saves a document to the original file location. For a new document, the method invokes the Save As modal dialog box with the specified owner.
SaveDocumentAs() Invokes the Save As modal dialog box and saves the document to the specified location in the specified format.
SaveDocumentAs(IWin32Window) Invokes the Save As modal dialog box and saves the document to the specified location in the specified format.
SetBinding(DependencyProperty, String) Attaches a binding to this element, based on the provided source property name as a path qualification to the data source. Inherited from FrameworkElement.
SetBinding(DependencyProperty, BindingBase) Attaches a binding to this element, based on the provided binding object. Inherited from FrameworkElement.
SetCurrentValue(DependencyProperty, Object) Sets the value of a dependency property without changing its value source. Inherited from DependencyObject.
SetFlowDirection(DependencyObject, FlowDirection) static Sets the value of the FlowDirection attached property for the provided element. Inherited from FrameworkElement.
SetResourceReference(DependencyProperty, Object) Searches for a resource with the specified name and sets up a resource reference to it for the specified property. Inherited from FrameworkElement.
SetSelectedRanges(IList<CellRange>) Selects multiple ranges in the active worksheet.
SetSelectedRanges(IList<CellRange>, Boolean) Selects cell ranges in the worksheet and specifies whether the selection expands to fit merged cells.
SetSelectedShapes(IList<Shape>) Select specified shapes in the active worksheet.
SetSpreadsheet(DependencyObject, SpreadsheetControl) static Sets the value of the SpreadsheetControl.Spreadsheet attached property for the specified object.
SetUseDefaultSvgImages(DependencyObject, SpreadsheetControl) static Sets the value of the SpreadsheetControl.UseDefaultSvgImages attached property for the specified object.
SetValue(DependencyProperty, Object) Sets the local value of a dependency property, specified by its dependency property identifier. Inherited from DependencyObject.
SetValue(DependencyPropertyKey, Object) Sets the local value of a read-only dependency property, specified by the DependencyPropertyKey identifier of the dependency property. Inherited from DependencyObject.
ShouldSerializeCommandBindings() Returns whether serialization processes should serialize the contents of the CommandBindings property on instances of this class. Inherited from UIElement.
ShouldSerializeInputBindings() Returns whether serialization processes should serialize the contents of the InputBindings property on instances of this class. Inherited from UIElement.
ShouldSerializeProperty(DependencyProperty) protected Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. Inherited from DependencyObject.
ShouldSerializeResources() Returns whether serialization processes should serialize the contents of the Resources property. Inherited from FrameworkElement.
ShouldSerializeStyle() Returns whether serialization processes should serialize the contents of the Style property. Inherited from FrameworkElement.
ShouldSerializeTriggers() Returns whether serialization processes should serialize the contents of the Triggers property. Inherited from FrameworkElement.
ShowPrintDialog() Invokes the Print dialog to select a printer, specify the print options (number of copies, page range, and paper source) and print the document.
ShowPrintPreview() Invokes the Print Preview window with a Bar UI.
ShowRibbonPrintPreview() Invokes the Print Preview window with a Ribbon UI.
IQueryAmbient.IsAmbientPropertyAvailable(String) For a description of this member, see the IsAmbientPropertyAvailable(String) method. Inherited from FrameworkElement.
ToString() Returns the string representation of a Control object. Inherited from Control.
TransformToAncestor(Visual3D) Returns a transform that can be used to transform coordinates from the Visual to the specified Visual3D ancestor of the visual object. Inherited from Visual.
TransformToAncestor(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified Visual ancestor of the visual object. Inherited from Visual.
TransformToDescendant(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified visual object descendant. Inherited from Visual.
TransformToVisual(Visual) Returns a transform that can be used to transform coordinates from the Visual to the specified visual object. Inherited from Visual.
TranslatePoint(Point, UIElement) Translates a point relative to this element to coordinates that are relative to the specified element. Inherited from UIElement.
TryFindResource(Object) Searches for a resource with the specified key, and returns that resource if found. Inherited from FrameworkElement.
UnregisterName(String) Simplifies access to the NameScope de-registration method. Inherited from FrameworkElement.
UpdateCommandUI() Refreshes the SpreadsheetControl Command UI.
UpdateDefaultStyle() Reapplies the default style to the current FrameworkElement. Inherited from FrameworkElement.
UpdateLayout() Ensures that all visual child elements of this element are properly updated for layout. Inherited from UIElement.
VerifyAccess() Enforces that the calling thread has access to this DispatcherObject. Inherited from DispatcherObject.
See Also