Class GridTooltipService
A helper class to show tooltips for grid cells.
Inheritance
Implements
Namespace: Syncfusion.Windows.Controls.Grid
Assembly: Syncfusion.Grid.Wpf.dll
Syntax
public class GridTooltipService : Object, IDisposable
Constructors
GridTooltipService()
Declaration
public GridTooltipService()
Fields
ErrorImageBounds
Declaration
public const double ErrorImageBounds = 15
Field Value
Type |
---|
System.Double |
ErrorMargin
Declaration
public const double ErrorMargin = 20
Field Value
Type |
---|
System.Double |
Methods
Dispose()
Declaration
public void Dispose()
Dispose(DependencyObject)
Releases all the resources used by this component.
Declaration
public static void Dispose(DependencyObject dop)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dop |
GetMouseDownFlag(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static Nullable<bool> GetMouseDownFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if the operation is successful; false otherwise. |
GetMouseLeaveFlag(DependencyObject)
Gets the value of TooltipDelay property.
Declaration
public static Nullable<bool> GetMouseLeaveFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if the operation is successful; false otherwise. |
GetSelectionChangedFlag(DependencyObject)
Gets the value of CommentDelay property.
Declaration
public static Nullable<bool> GetSelectionChangedFlag(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Nullable<System.Boolean> | True if the operation is successful; false otherwise. |
GetShowErrorTooltips(DependencyObject)
Gets the value of ShowErrorTooltips property.
Declaration
public static bool GetShowErrorTooltips(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. |
GetShowTooltips(DependencyObject)
Gets the value of ShowTooltips property.
Declaration
public static bool GetShowTooltips(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. |
GetTooltipDelay(DependencyObject)
Gets the value of TooltipDelay property.
Declaration
public static Nullable<int> GetTooltipDelay(DependencyObject dpo)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
Returns
Type | Description |
---|---|
System.Nullable<System.Int32> | True if the operation is successful; false otherwise. |
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 TooltipDelay 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. |
SetShowErrorTooltips(DependencyObject, Boolean)
Sets the value of ShowErrorTooltips property.
Declaration
public static void SetShowErrorTooltips(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |
SetShowTooltips(DependencyObject, Boolean)
Sets the value of ShowTooltips property.
Declaration
public static void SetShowTooltips(DependencyObject dpo, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Boolean | value | The new value. |
SetTooltipDelay(DependencyObject, Int32)
Sets the value of TooltipDelay property.
Declaration
public static void SetTooltipDelay(DependencyObject dpo, int value)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | dpo | The grid. |
System.Int32 | value | The new value. |