Class GridCommentService
A helper class to show comment tips for grid cells.
Inheritance
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridCommentService : Object
Constructors
GridCommentService()
Declaration
public GridCommentService()
Fields
CachedForeCornerProperty
Declaration
public static readonly DependencyProperty CachedForeCornerProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Methods
Dispose(DependencyObject)
Releases all the resources used by this component.
Declaration
public static void Dispose(DependencyObject d)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | d | The parent grid. |
GetCachedForeCorner(DependencyObject)
Declaration
public static string GetCachedForeCorner(DependencyObject obj)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj |
Returns
Type |
---|
System.String |
GetCommentDelay(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static int GetCommentDelay(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Int32 | True if the operation is successful; false otherwise. |
GetMouseDownFlag(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static bool GetMouseDownFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Boolean | True if the operation is successful; false otherwise. |
GetMouseLeaveFlag(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static bool GetMouseLeaveFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Boolean | True if the operation is successful; false otherwise. |
GetSelectionChangedFlag(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static bool GetSelectionChangedFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Boolean | True if the operation is successful; false otherwise. |
GetShowComment(DependencyObject)
Gets the value of ShowTooltips property.
Declaration
public static bool GetShowComment(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Boolean | True if the operation is successful; false otherwise. |
SetCachedForeCorner(DependencyObject, String)
Declaration
public static void SetCachedForeCorner(DependencyObject obj, string value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | obj | |
System.String | value |
SetCommentDelay(DependencyObject, Int32)
Sets the value of CommentDelay property.
Declaration
public static void SetCommentDelay(DependencyObject dpo, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Int32 | value | The new value. |
SetMouseDownFlag(DependencyObject, Boolean)
Sets the value of CommentDelay property.
Declaration
public static void SetMouseDownFlag(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |
SetMouseLeaveFlag(DependencyObject, Boolean)
Sets the value of CommentDelay property.
Declaration
public static void SetMouseLeaveFlag(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |
SetSelectionChangedFlag(DependencyObject, Boolean)
Sets the value of CommentDelay property.
Declaration
public static void SetSelectionChangedFlag(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |
SetShowComment(DependencyObject, Boolean)
Sets the value of ShowTooltips property.
Declaration
public static void SetShowComment(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |