Class TreeGridCell
Inheritance
System.Object
TreeGridCell
Implements
System.IDisposable
Assembly: Syncfusion.SfGrid.UWP.dll
Syntax
public class TreeGridCell : TreeGridElement, IDisposable
Constructors
TreeGridCell()
Declaration
Fields
CurrentCellBorderBrushProperty
Dependency registration for CurrnetCell border brush
Declaration
public static readonly DependencyProperty CurrentCellBorderBrushProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
CurrentCellBorderThicknessProperty
Dependency registration for CurrentCellBorderThickness.
Declaration
public static readonly DependencyProperty CurrentCellBorderThicknessProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
ErrorMessageProperty
Declaration
public static readonly DependencyProperty ErrorMessageProperty
Field Value
Type |
Description |
Windows.UI.Xaml.DependencyProperty |
|
Properties
ColumnBase
Declaration
public TreeDataColumnBase ColumnBase { get; }
Property Value
CurrentCellBorderBrush
Gets or sets Brush for CurrnetCell border.
Declaration
public Brush CurrentCellBorderBrush { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Media.Brush |
|
CurrentCellBorderThickness
Gets or sets a thickness for CurrentCell border
Declaration
public Thickness CurrentCellBorderThickness { get; set; }
Property Value
Type |
Description |
Windows.UI.Xaml.Thickness |
|
ErrorMessage
Gets or sets cell error message which is displayed in cell error indicator's ToolTip.
Declaration
public string ErrorMessage { get; set; }
Property Value
Type |
Description |
System.String |
|
HasError
Gets a value indicating whether TreeGridCell has error or not.
Declaration
public bool HasError { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
ApplyValidationVisualState(Boolean)
Updates the Visual State of the TreeGridCell based on the cell validation applied on SfTreeGrid.
Declaration
protected virtual void ApplyValidationVisualState(bool canApplyDefaultState = true)
Parameters
Type |
Name |
Description |
System.Boolean |
canApplyDefaultState |
|
Dispose()
Declaration
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
MeasureOverride(Size)
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
Type |
Name |
Description |
Windows.Foundation.Size |
availableSize |
|
Returns
Type |
Description |
Windows.Foundation.Size |
|
OnApplyTemplate()
Declaration
protected override void OnApplyTemplate()
Declaration
protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs |
e |
|
When long press on SfTreeGrid Cell, Context menu appears for the selected cell.
We are using this event for context menu support in Record cell and Expander cell.
Declaration
protected override void OnHolding(HoldingRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.HoldingRoutedEventArgs |
e |
Holding event arguments
|
Method override to set tooltip for the TreeGridCell
Declaration
protected override void OnPointerEntered(PointerRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
Declaration
protected override void OnPointerMoved(PointerRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
Declaration
protected override void OnPointerPressed(PointerRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
Declaration
protected override void OnPointerReleased(PointerRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.PointerRoutedEventArgs |
e |
|
When Right click the SfDataGrid Cell, Context menu appears for the selected cell.
We are using this event for context menu support in Record cell and Expander cell.
Declaration
protected override void OnRightTapped(RightTappedRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.RightTappedRoutedEventArgs |
e |
Right tapped event arguments
|
Declaration
protected override void OnTapped(TappedRoutedEventArgs e)
Parameters
Type |
Name |
Description |
Windows.UI.Xaml.Input.TappedRoutedEventArgs |
e |
|
Declaration
protected virtual bool ShowContextMenu(Point position)
Parameters
Type |
Name |
Description |
Windows.Foundation.Point |
position |
|
Returns
Type |
Description |
System.Boolean |
|
Implements
System.IDisposable
Extension Methods