Class GraphicCellControl
ContentControl which is used to load the content of GraphicCellControl
Inheritance
Implements
Namespace: Syncfusion.Windows.Forms.Spreadsheet.GraphicCells
Assembly: Syncfusion.Spreadsheet.Windows.dll
Syntax
public class GraphicCellControl : Control, IDisposable
Constructors
GraphicCellControl()
constructor needs to initialize the values.
Declaration
public GraphicCellControl()
Properties
IsSelected
Determines whether the GraphicCellControl is selected or not.
Declaration
public bool IsSelected { get; set; }
Property Value
Type |
---|
System.Boolean |
Methods
Dispose()
Dispose all the resources used by the GraphicCellControl class
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
OnMouseDown(MouseEventArgs)
Resizing and moving supports are provided from the mouse down of graphic cell control.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnMouseLeave(EventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.Windows.Input.MouseEventArgs that contains the event data. |
Remarks
Occurs when a pointer leaves the hit test area of this element.
OnMouseMove(MouseEventArgs)
Resizing and moving supports are provided from the mouse move of graphic cell control.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e |
OnMouseUp(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.MouseEventArgs | e | The System.Windows.Input.MouseButtonEventArgs that contains the event data. The event data reports that the mouse button was released. |
Remarks
Occurs when a pointer released after press action within this element.
OnPaint(PaintEventArgs)
Draw the border of RichTextBox.
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |
OnPaintBackground(PaintEventArgs)
Declaration
protected override void OnPaintBackground(PaintEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.PaintEventArgs | e |