menu

UWP

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

    Show / Hide Table of Contents

    Class GridUpDownCellRenderer

    This GridCellUpDownRenderer class render the the display element as the textblock and render the edit element as the SfUpDownCellRenderer.

    Inheritance
    System.Object
    GridCellRendererBase
    GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, SfNumericUpDown>
    GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, SfNumericUpDown>
    GridUpDownCellRenderer
    Implements
    IGridCellRenderer
    System.IDisposable
    Inherited Members
    GridCellRendererBase.Arrange(RowColumnIndex, UIElement, Rect)
    GridCellRendererBase.BeginEdit(RowColumnIndex, GridCell, GridStyleInfo, String)
    GridCellRendererBase.CharacterReceived(CharacterReceivedEventArgs)
    GridCellRendererBase.ClearRecycleBin()
    GridCellRendererBase.CurrentCellElement
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.CurrentCellValueChanged(String)
    GridCellRendererBase.CurrentStyle
    GridCellRendererBase.DisplayElementOptimization
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Dispose(Boolean)
    GridCellRendererBase.EndEdit(RowColumnIndex, GridCell, GridStyleInfo)
    GridCellRendererBase.Grid
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.IGridCellRenderer.ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocused
    GridCellRendererBase.IsFocusible
    GridCellRendererBase.IsInEditing
    GridCellRendererBase.Measure(RowColumnIndex, UIElement, Size)
    GridCellRendererBase.MoveCurrentCell
    GridCellRendererBase.OnArrange(RowColumnIndex, UIElement, Rect)
    GridCellRendererBase.OnCharacterReceived(CharacterReceivedEventArgs)
    GridCellRendererBase.OnMeasure(RowColumnIndex, UIElement, Size)
    GridCellRendererBase.OnPrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.OnSaveChanges()
    GridCellRendererBase.OnUnloadUIElements(GridCell)
    GridCellRendererBase.PrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.PreviewInputText
    GridCellRendererBase.RaiseSaveChanges()
    GridCellRendererBase.RefreshContent()
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, UIElement, Boolean, Boolean)
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.SetFocus(UIElement, Boolean)
    GridCellRendererBase.SupportDrawingOptimization
    GridCellRendererBase.SupportRenderOptimization
    GridCellRendererBase.UnloadUIElements(GridCell)
    GridCellRendererBase.UpdateCellStyle(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.UpdateCurrentCellState(UIElement, Boolean)
    GridCellRendererBase.UseOnlyRendererElement
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.CreateWrapperInstance(ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.GetFormattedText(GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.InitializeTemplateElement(ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnInitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnInitializeEditElement(RowColumnIndex, SfNumericUpDown, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnInitializeTemplateElement(RowColumnIndex, ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnUpdateCellStyle(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnUpdateEditCellStyle(RowColumnIndex, SfNumericUpDown, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>.OnUpdateTemplateElement(ContentControl, GridStyleInfo)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.AllowRecycle
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.BeginEdit(RowColumnIndex, GridCell, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.ClearRecycleBin()
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.DisplayRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.Dispose(Boolean)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.EditRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.EndEdit(RowColumnIndex, GridCell, GridStyleInfo)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.InitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.InitializeEditElement(RowColumnIndex, SfNumericUpDown, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.InitializeTemplateElement(RowColumnIndex, ContentControl, GridStyleInfo)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnArrange(RowColumnIndex, UIElement, 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>.OnEditingComplete(UIElement)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnEnteredEditMode(UIElement)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnMeasure(RowColumnIndex, UIElement, Size)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnPrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnUnloadUIElements(GridCell)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnUnwireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnUnwireEditUIElement(SfNumericUpDown)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnUnWireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnWireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnWireEditUIElement(SfNumericUpDown)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.OnWireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.TemplateRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, SfNumericUpDown>.UpdateCellStyle(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    Namespace: Syncfusion.UI.Xaml.CellGrid.GridCellRenderer
    Assembly: Syncfusion.SfCellGrid.UWP.dll
    Syntax
    public class GridUpDownCellRenderer : GridVirtualizingCellRenderer<TextBlock, SfNumericUpDown>, IGridCellRenderer, IDisposable

    Constructors

    GridUpDownCellRenderer()

    Declaration
    public GridUpDownCellRenderer()

    Methods

    GetControlValue()

    Returns the controlvalue of the current render- SfNumericUpDown.

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

    GetFormattedText(GridStyleInfo)

    Declaration
    public override string GetFormattedText(GridStyleInfo style)
    Parameters
    Type Name Description
    GridStyleInfo style
    Returns
    Type
    System.String
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.GetFormattedText(Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo)

    OnEditElementLoaded(Object, RoutedEventArgs)

    Declaration
    protected override void OnEditElementLoaded(object sender, RoutedEventArgs e)
    Parameters
    Type Name Description
    System.Object sender
    Windows.UI.Xaml.RoutedEventArgs e
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnInitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)

    Initialize the properties of display element based on styles.

    Declaration
    protected override void OnInitializeDisplayElement(RowColumnIndex rowColumnIndex, TextBlock uiElement, GridStyleInfo style, string text)
    Parameters
    Type Name Description
    RowColumnIndex rowColumnIndex

    row and column index of cell

    Windows.UI.Xaml.Controls.TextBlock uiElement

    display uielement

    GridStyleInfo style

    grid style information

    System.String text
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)

    OnInitializeEditElement(RowColumnIndex, SfNumericUpDown, GridStyleInfo, String)

    Initialize the proerties of edit element (SfNumricUpDown) based on the styles.

    Declaration
    protected override void OnInitializeEditElement(RowColumnIndex rowColumnIndex, SfNumericUpDown uiElement, GridStyleInfo style, string text)
    Parameters
    Type Name Description
    RowColumnIndex rowColumnIndex

    row and column index of the cell

    SfNumericUpDown uiElement

    edit uielement

    GridStyleInfo style

    grid style information

    System.String text
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)

    OnUpdateCellStyle(RowColumnIndex, TextBlock, GridStyleInfo, String)

    Update the display element styles while scrolling the grid.

    Declaration
    protected override void OnUpdateCellStyle(RowColumnIndex cellRowColumnIndex, TextBlock uiElement, GridStyleInfo style, string text)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex
    Windows.UI.Xaml.Controls.TextBlock uiElement

    display uielement

    GridStyleInfo style

    grid style information

    System.String text

    grid style information

    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnUpdateCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)

    OnUpdateEditCellStyle(RowColumnIndex, SfNumericUpDown, GridStyleInfo, String)

    Update the edit element while scrolling the grid.

    Declaration
    protected override void OnUpdateEditCellStyle(RowColumnIndex cellRowColumnIndex, SfNumericUpDown uiElement, GridStyleInfo style, string text)
    Parameters
    Type Name Description
    RowColumnIndex cellRowColumnIndex
    SfNumericUpDown uiElement

    edit uielement.

    GridStyleInfo style

    grid style information.

    System.String text
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown>.OnUpdateEditCellStyle(Syncfusion.UI.Xaml.Grid.ScrollAxis.RowColumnIndex, Syncfusion.UI.Xaml.Controls.Input.SfNumericUpDown, Syncfusion.UI.Xaml.CellGrid.Styles.GridStyleInfo, System.String)

    SetControlValue(Object)

    Returns the true if the control value is set else false.

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

    new control value

    Returns
    Type
    System.Boolean
    Overrides
    GridCellRendererBase.SetControlValue(Object)

    ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)

    Declaration
    protected override bool ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs e)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Input.KeyRoutedEventArgs e
    Returns
    Type
    System.Boolean
    Overrides
    GridCellRendererBase.ShouldGridTryToHandleKeyDown(KeyRoutedEventArgs)

    Implements

    IGridCellRenderer
    System.IDisposable

    Extension Methods

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