New to Telerik UI for WPFStart a free 30-day trial

TableAdorner

Definition

Namespace:Telerik.Windows.Documents.UI.Layers.TableDecorationLayers.TableMovement

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class TableAdorner : UserControl, IComponentConnector

Inheritance: objectTableAdorner

Implements: IComponentConnector

Constructors

C#
public TableAdorner(DocumentPrintLayoutPresenter printPresenter, UILayerUpdateContext context, TableMovementUILayer movementLayer)
Parameters:printPresenterDocumentPrintLayoutPresentercontextUILayerUpdateContextmovementLayerTableMovementUILayer
C#
public TableAdorner(DocumentWebLayoutPresenter webPresenter, UILayerUpdateContext context, TableMovementUILayer movementLayer)
Parameters:webPresenterDocumentWebLayoutPresentercontextUILayerUpdateContextmovementLayerTableMovementUILayer
C#
public TableAdorner(UILayerUpdateContext context, TableMovementUILayer movementLayer)
Parameters:contextUILayerUpdateContextmovementLayerTableMovementUILayer

Properties

Gets the associated table element that the adorner is applied to.

C#
public Table AssociatedTable { get; set; }

Represents the cursor type for the Table Adorner in the Table Decoration Layers.

C#
public Cursor CursorType { get; set; }

Methods

Handles the drag delta event for the TableAdorner, allowing for smooth dragging functionality within the table layers of the UI.

C#
public void DragDelta(MouseEventArgs e)
Parameters:eMouseEventArgs

The MouseEventArgs that contains the event data, including the current position of the mouse.

Occurs when dragging of the table adorner has started.

C#
public void DragStarted(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

The event data associated with the mouse button event that started the drag operation.

Hides the table adorner, making it invisible on the UI.

C#
public void Hide()

InitializeComponent

C#
public void InitializeComponent()

Displays the adorner for the table movement.

C#
public void Show()

Initiates the dragging operation for the table adorner.

C#
public void StartDragging(MouseButtonEventArgs e)
Parameters:eMouseButtonEventArgs

The mouse button event arguments containing information about the mouse button that was pressed.

Initiates the dragging of the table adorner, allowing for repositioning of the table within the document. This method typically sets up the necessary event handlers to track the dragging movement.

C#
public void StartTableAdornerDragging()

Stops the capturing process for the table adorner, finalizing any ongoing operations related to table movement.

C#
public void StopCapturing()

Stops the dragging operation of the table adorner.

C#
public void StopTableAdornerDragging()