Class GridTreeGlyphDrawingEventArgs
Event arguments for the GlyphDrawing event.
Inheritance
System.Object
System.EventArgs
GridTreeGlyphDrawingEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridTreeGlyphDrawingEventArgs : EventArgs
Constructors
GridTreeGlyphDrawingEventArgs(PathGeometry, Point, Boolean, Boolean, DrawingContext)
Event arguments for event use in the custom drawing of the expand glyph.
Declaration
public GridTreeGlyphDrawingEventArgs(PathGeometry geometry, Point startPoint, bool isHot, bool opened, DrawingContext dc)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Windows.Media.PathGeometry | geometry | Add PathFigures to this PathGeometry to define the glyph. |
| System.Windows.Point | startPoint | Top-left point of the glyph figure. |
| System.Boolean | isHot | Indicates whether the mouse is over the glyph. |
| System.Boolean | opened | Indicates whether the node is open. |
| System.Windows.Media.DrawingContext | dc |
Properties
DC
Gets the DrawingContext being used to draw this cell.
Declaration
public DrawingContext DC { get; }
Property Value
| Type |
|---|
| System.Windows.Media.DrawingContext |
Geometry
Gets the PathGeometry that you should populate to define the glyph.
Declaration
public PathGeometry Geometry { get; }
Property Value
| Type |
|---|
| System.Windows.Media.PathGeometry |
IsHot
Gets whether the mouse is over the glyph.
Declaration
public bool IsHot { get; }
Property Value
| Type |
|---|
| System.Boolean |
Opened
Gets whether the cell is expanded.
Declaration
public bool Opened { get; }
Property Value
| Type |
|---|
| System.Boolean |
StartPoint
Gets the top-left point of the glyph.
Declaration
public Point StartPoint { get; }
Property Value
| Type |
|---|
| System.Windows.Point |