menu

UWP

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

    Show / Hide Table of Contents

    Class GridCellUpDownRenderer

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

    Constructors

    GridCellUpDownRenderer()

    Initializes a new instance of the GridCellUpDownRenderer class.

    Declaration
    public GridCellUpDownRenderer()

    Methods

    GetControlValue()

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

    OnEditElementLoaded(Object, RoutedEventArgs)

    Invoked when the edit element(SfNumericUpDown) 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.

    Windows.UI.Xaml.RoutedEventArgs e

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

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnEditElementUnloaded(Object, RoutedEventArgs)

    Invoked when the edit element(SfNumericUpDown) 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.

    Windows.UI.Xaml.RoutedEventArgs e

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

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnEditElementUnloaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnInitializeDisplayElement(DataColumnBase, TextBlock, Object)

    Called when [initialize display element].

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

    DataColumn which holds GridColumn, RowColumnIndex and GridCell

    Windows.UI.Xaml.Controls.TextBlock uiElement

    Corresponding Renderer Element

    System.Object dataContext

    The data context.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.TextBlock, System.Object)

    OnInitializeEditElement(DataColumnBase, SfNumericUpDown, Object)

    Called when [initialize edit element].

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

    DataColumn which holds GridColumn, RowColumnIndex and GridCell

    SfNumericUpDown uiElement

    The UI element.

    System.Object dataContext

    The data context.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown, System.Object)

    OnPreviewTextInput(KeyRoutedEventArgs)

    Called when text is entered in the Data Control

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

    KeyRoutedEventArgs

    Overrides
    GridCellRendererBase.OnPreviewTextInput(KeyRoutedEventArgs)

    OnUnwireEditUIElement(SfNumericUpDown)

    Declaration
    protected override void OnUnwireEditUIElement(SfNumericUpDown uiElement)
    Parameters
    Type Name Description
    SfNumericUpDown uiElement
    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnUnwireEditUIElement(Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown)

    OnUpdateDisplayBinding(DataColumnBase, TextBlock, Object)

    Called when [update display binding].

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

    DataColumn which holds GridColumn, RowColumnIndex and GridCell

    Windows.UI.Xaml.Controls.TextBlock uiElement

    The UI element.

    System.Object dataContext

    The data context.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnUpdateDisplayBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.TextBlock, System.Object)

    OnUpdateEditBinding(DataColumnBase, SfNumericUpDown, Object)

    Called when [update edit binding].

    Declaration
    public override void OnUpdateEditBinding(DataColumnBase dataColumn, SfNumericUpDown element, object dataContext)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    DataColumn which holds GridColumn, RowColumnIndex and GridCell

    SfNumericUpDown element

    The element.

    System.Object dataContext

    The data context.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnUpdateEditBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown, System.Object)

    SetControlValue(Object)

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

    SetFocus(FrameworkElement, Boolean)

    Declaration
    protected override void SetFocus(FrameworkElement uiElement, bool needToFocus)
    Parameters
    Type Name Description
    Windows.UI.Xaml.FrameworkElement uiElement
    System.Boolean needToFocus
    Overrides
    GridCellRendererBase.SetFocus(FrameworkElement, Boolean)

    ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)

    Let Renderer decide whether the parent grid should be allowed to handle keys and prevent the key event from being handled by the visual UIElement for this renderer. If this method returns true the parent grid will handle arrow keys and set the Handled flag in the event data. Keys that the grid does not handle will be ignored and be routed to the UIElement for this renderer.

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

    A Windows.UI.Xaml.Input.KeyRoutedEventArgs object.

    Returns
    Type Description
    System.Boolean

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

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.ShouldGridTryToHandleKeyDown(Windows.UI.Xaml.Input.KeyRoutedEventArgs)

    Implements

    IGridCellRenderer
    System.IDisposable

    Extension Methods

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