menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeGridCellNumericRenderer - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TreeGridCellNumericRenderer

    Inheritance
    System.Object
    TreeGridCellRendererBase
    TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, SfNumericTextBox>
    TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, SfNumericTextBox>
    TreeGridCellNumericRenderer
    Implements
    ITreeGridCellRenderer
    System.IDisposable
    Inherited Members
    TreeGridCellRendererBase.Arrange(RowColumnIndex, FrameworkElement, Rect)
    TreeGridCellRendererBase.BeginEdit(RowColumnIndex, FrameworkElement, TreeGridColumn, Object)
    TreeGridCellRendererBase.BindingExpression
    TreeGridCellRendererBase.CanUpdateBinding(TreeGridColumn)
    TreeGridCellRendererBase.CanValidate()
    TreeGridCellRendererBase.ClearRecycleBin()
    TreeGridCellRendererBase.CurrentCellElement
    TreeGridCellRendererBase.CurrentCellIndex
    TreeGridCellRendererBase.CurrentCellRendererElement
    TreeGridCellRendererBase.Dispose()
    TreeGridCellRendererBase.Dispose(Boolean)
    TreeGridCellRendererBase.HasCurrentCellState
    TreeGridCellRendererBase.IsDropDownable
    TreeGridCellRendererBase.IsEditable
    TreeGridCellRendererBase.IsFocusable
    TreeGridCellRendererBase.IsFocused
    TreeGridCellRendererBase.IsInEditing
    TreeGridCellRendererBase.ITreeGridCellRenderer.ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
    TreeGridCellRendererBase.ITreeGridCellRenderer.UpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.Measure(RowColumnIndex, FrameworkElement, Size)
    TreeGridCellRendererBase.OnArrange(RowColumnIndex, FrameworkElement, Rect)
    TreeGridCellRendererBase.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    TreeGridCellRendererBase.OnPrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.OnUnloadUIElements(TreeDataColumnBase)
    TreeGridCellRendererBase.OnUpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.OnUpdateStyleInfo(TreeDataColumn)
    TreeGridCellRendererBase.PrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.PreviewInputText
    TreeGridCellRendererBase.PreviewTextInput(KeyRoutedEventArgs)
    TreeGridCellRendererBase.RaiseCurrentCellValidatedEvent(SfTreeGrid, TreeGridColumn, Object, Object, Object, TreeNode)
    TreeGridCellRendererBase.RaiseCurrentCellValidatingEvent(SfTreeGrid, TreeGridColumn, Object, Object, Object, Object, TreeNode)
    TreeGridCellRendererBase.RaiseCurrentCellValueChangedEvent(SfTreeGrid, TreeDataColumnBase)
    TreeGridCellRendererBase.ResetCurrentCellState()
    TreeGridCellRendererBase.SetCurrentCellState(RowColumnIndex, FrameworkElement, Boolean, Boolean, TreeGridColumn, TreeDataColumnBase)
    TreeGridCellRendererBase.SetFocus(Boolean)
    TreeGridCellRendererBase.SetFocus(FrameworkElement, Boolean)
    TreeGridCellRendererBase.SupportsRenderOptimization
    TreeGridCellRendererBase.TreeGrid
    TreeGridCellRendererBase.UnloadUIElements(TreeDataColumnBase)
    TreeGridCellRendererBase.UpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridCellRendererBase.UpdateCellStyle(TreeDataColumn)
    TreeGridCellRendererBase.UpdateCurrentCellState(FrameworkElement, Boolean)
    TreeGridCellRendererBase.UpdateSource(FrameworkElement)
    TreeGridCellRendererBase.UpdateToolTip(TreeDataColumnBase)
    TreeGridCellRendererBase.UseOnlyRendererElement
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.CurrentRendererValueChanged()
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.EditorType
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnInitializeDisplayElement(TreeDataColumnBase, TextBlock, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnInitializeEditElement(TreeDataColumnBase, SfNumericTextBox, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnInitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnUpdateDisplayBinding(TreeDataColumnBase, TextBlock, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnUpdateEditBinding(TreeDataColumnBase, SfNumericTextBox, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.OnUpdateTemplateBinding(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
    TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>.TextAlignmentToHorizontalAlignment(TextAlignment)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.AllowRecycle
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.BeginEdit(RowColumnIndex, FrameworkElement, TreeGridColumn, Object)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.ClearRecycleBin()
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.DisplayRecycleBin
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.Dispose(Boolean)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.EditRecycleBin
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.EndEdit(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.InitializeCellStyle(TreeDataColumnBase, Object)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.InitializeDisplayElement(TreeDataColumnBase, TextBlock, Object)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.InitializeEditElement(TreeDataColumnBase, SfNumericTextBox, Object)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.InitializeTemplateElement(TreeDataColumnBase, ContentControl, Object)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnArrange(RowColumnIndex, FrameworkElement, Rect)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnCreateDisplayUIElement()
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnCreateEditUIElement()
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnEditElementLoaded(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnEditElementLostFocus(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnEditElementUnloaded(Object, RoutedEventArgs)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnEditingComplete(TreeDataColumnBase, FrameworkElement)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnEnteredEditMode(TreeDataColumnBase, FrameworkElement)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnMeasure(RowColumnIndex, FrameworkElement, Size)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnPrepareUIElements(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUnloadUIElements(TreeDataColumnBase)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUnwireDisplayUIElement(TextBlock)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUnwireEditUIElement(SfNumericTextBox)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUnwireTemplateUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUpdateBindingInfo(TreeDataColumnBase, Object, Boolean)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnUpdateStyleInfo(TreeDataColumn)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnWireDisplayUIElement(TextBlock)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnWireEditUIElement(SfNumericTextBox)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.OnWireTemplateUIElement(ContentControl)
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.TemplateRecycleBin
    TreeGridVirtualizingCellRendererBase<TextBlock, SfNumericTextBox>.UpdateToolTip(TreeDataColumnBase)
    Namespace: Syncfusion.UI.Xaml.TreeGrid.Cells
    Assembly: Syncfusion.SfGrid.UWP.dll
    Syntax
    public class TreeGridCellNumericRenderer : TreeGridVirtualizingCellRenderer<TextBlock, SfNumericTextBox>, ITreeGridCellRenderer, IDisposable

    Constructors

    TreeGridCellNumericRenderer()

    Declaration
    public TreeGridCellNumericRenderer()

    Methods

    EndEdit(TreeDataColumnBase, Object, Boolean)

    Ends the edit occuring on the cell.

    Declaration
    public override bool EndEdit(TreeDataColumnBase dc, object record, bool canResetBinding = false)
    Parameters
    Type Name Description
    TreeDataColumnBase dc

    Specifies the corresponding TreeDataColumnBase.

    System.Object record

    Specifies the corresponding record.

    System.Boolean canResetBinding

    Indicates whether binding can be reset or not.

    Returns
    Type Description
    System.Boolean

    True if the edit ends on the cell; otherwise false.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.EndEdit(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, System.Object, System.Boolean)

    GetControlValue()

    Gets the control value of the cell.

    Declaration
    public override object GetControlValue()
    Returns
    Type Description
    System.Object

    Returns the control value as null by default .

    Overrides
    TreeGridCellRendererBase.GetControlValue()

    OnEditElementLoaded(Object, RoutedEventArgs)

    Invoked when the edit element(DoubleTextBox) is loaded on the cell in column

    Declaration
    protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The sender that contains the corresponding edit UIElement.

    Windows.UI.Xaml.RoutedEventArgs e

    The Windows.UI.Xaml.RoutedEventArgs instance containing the event data.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnEditElementUnloaded(Object, RoutedEventArgs)

    Invoked when the edit element(DoubleTextBox) is unloaded on the cell in column

    Declaration
    protected override void OnEditElementUnloaded(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender

    The sender that contains the corresponding edit UIElement.

    Windows.UI.Xaml.RoutedEventArgs e

    The Windows.UI.Xaml.RoutedEventArgs instance containing the event data.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.OnEditElementUnloaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnInitializeDisplayElement(TreeDataColumnBase, TextBlock, Object)

    Method which initialize the display element of the column.

    Declaration
    public override void OnInitializeDisplayElement(TreeDataColumnBase dataColumn, TextBlock uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    Specifies the TreeDataColumnBase.

    Windows.UI.Xaml.Controls.TextBlock uiElement

    Specifies the corresponding renderer element.

    System.Object dataContext

    Specifies the data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Windows.UI.Xaml.Controls.TextBlock, System.Object)

    OnInitializeEditElement(TreeDataColumnBase, SfNumericTextBox, Object)

    Method which is used to initialize the renderer element bindings with corresponding column values.

    Declaration
    public override void OnInitializeEditElement(TreeDataColumnBase dataColumn, SfNumericTextBox uiElement, object dataContext)
    Parameters
    Type Name Description
    TreeDataColumnBase dataColumn

    Specifies the corresponding TreeDataColumnBase.

    SfNumericTextBox uiElement

    Specifies the corresponding renderer element.

    System.Object dataContext

    Specifies the data context of the cell.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.TreeGrid.TreeDataColumnBase, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox, System.Object)

    OnPreviewTextInput(KeyRoutedEventArgs)

    Invoked when an unhandled PreviewTextInput attached 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 OnPreviewTextInput(KeyRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.KeyRoutedEventArgs e

    The Windows.UI.Xaml.Input.KeyRoutedEventArgs that contains the event data.

    Overrides
    TreeGridCellRendererBase.OnPreviewTextInput(KeyRoutedEventArgs)

    OnUnwireEditUIElement(SfNumericTextBox)

    Unwires the events associated with edit UIElement.

    Declaration
    protected override void OnUnwireEditUIElement(SfNumericTextBox uiElement)
    Parameters
    Type Name Description
    SfNumericTextBox uiElement

    The corresponding edit UIElement to unwire its events.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.OnUnwireEditUIElement(Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox)

    SetControlValue(Object)

    Sets the control value of the cell.

    Declaration
    public override void SetControlValue(object value)
    Parameters
    Type Name Description
    System.Object value

    Specifies the value to set the control value of the cell.

    Overrides
    TreeGridCellRendererBase.SetControlValue(Object)

    ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)

    Handles the key interaction with editor of corresponding column.

    Declaration
    protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.KeyRoutedEventArgs e

    The Windows.UI.Xaml.Input.KeyRoutedEventArgs instance containing the event data.

    Returns
    Type Description
    System.Boolean

    True if the parent grid should be allowed to handle keys; False otherwise.

    Overrides
    Syncfusion.UI.Xaml.TreeGrid.Cells.TreeGridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericTextBox>.ShouldGridTryToHandleKeyDown(Windows.UI.Xaml.Input.KeyRoutedEventArgs)

    Implements

    ITreeGridCellRenderer
    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved