menu

WPF

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

    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<System.Windows.Controls.TextBlock, UpDown>
    GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, UpDown>
    GridUpDownCellRenderer
    Implements
    IGridCellRenderer
    System.IDisposable
    Inherited Members
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnRender(RowColumnIndex, DrawingContext, Rect, GridStyleInfo, String, Object)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.GetFormattedText(GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnInitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnInitializeTemplateElement(RowColumnIndex, ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.CreateWrapperInstance(ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.InitializeTemplateElement(ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnUpdateCellStyle(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnUpdateTemplateElement(ContentControl, GridStyleInfo)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnUpdateEditCellStyle(RowColumnIndex, UpDown, GridStyleInfo, String)
    GridVirtualizingCellRenderer<TextBlock, UpDown>.OnInitializeEditElement(RowColumnIndex, UpDown, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.DisplayRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.TemplateRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.EditRecycleBin
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnPrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.UpdateCellStyle(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.BeginEdit(RowColumnIndex, GridCell, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnEnteredEditMode(UIElement)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnEditingComplete(UIElement)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.EndEdit(RowColumnIndex, GridCell, GridStyleInfo)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnUnloadUIElements(GridCell)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnArrange(RowColumnIndex, UIElement, Rect)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnMeasure(RowColumnIndex, UIElement, Size)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.ClearRecycleBin()
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.Dispose(Boolean)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnCreateEditUIElement()
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnCreateDisplayUIElement()
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnCreateTemplateUIElement()
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnWireEditUIElement(UpDown)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnUnwireEditUIElement(UpDown)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnWireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnUnwireDisplayUIElement(TextBlock)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnWireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnUnWireTemplateUIElement(ContentControl)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnEditElementLoaded(Object, RoutedEventArgs)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.OnEditElementLostFocus(Object, RoutedEventArgs)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.InitializeEditElement(RowColumnIndex, UpDown, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.InitializeDisplayElement(RowColumnIndex, TextBlock, GridStyleInfo, String)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.InitializeTemplateElement(RowColumnIndex, ContentControl, GridStyleInfo)
    GridVirtualizingCellRendererBase<TextBlock, UpDown>.AllowRecycle
    GridCellRendererBase.OnRender(RowColumnIndex, DrawingContext, Rect, GridStyleInfo, String, Object)
    GridCellRendererBase.OnArrange(RowColumnIndex, UIElement, Rect)
    GridCellRendererBase.OnMeasure(RowColumnIndex, UIElement, Size)
    GridCellRendererBase.OnPrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.OnUnloadUIElements(GridCell)
    GridCellRendererBase.BeginEdit(RowColumnIndex, GridCell, GridStyleInfo, String)
    GridCellRendererBase.EndEdit(RowColumnIndex, GridCell, GridStyleInfo)
    GridCellRendererBase.CurrentCellValueChanged(String)
    GridCellRendererBase.OnSaveChanges()
    GridCellRendererBase.RefreshContent()
    GridCellRendererBase.SetFocus(UIElement, Boolean)
    GridCellRendererBase.UpdateCellStyle(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.ClearRecycleBin()
    GridCellRendererBase.Arrange(RowColumnIndex, UIElement, Rect)
    GridCellRendererBase.Measure(RowColumnIndex, UIElement, Size)
    GridCellRendererBase.PrepareUIElements(RowColumnIndex, GridCell, GridStyleInfo, String, Boolean)
    GridCellRendererBase.UnloadUIElements(GridCell)
    GridCellRendererBase.IGridCellRenderer.ShouldGridTryToHandleKeyDown(KeyEventArgs)
    GridCellRendererBase.OnTextInput(TextCompositionEventArgs)
    GridCellRendererBase.TextInput(TextCompositionEventArgs)
    GridCellRendererBase.Render(RowColumnIndex, DrawingContext, Rect, GridStyleInfo, String, Object)
    GridCellRendererBase.UpdateCurrentCellState(UIElement, Boolean)
    GridCellRendererBase.SetCurrentCellState(RowColumnIndex, UIElement, Boolean, Boolean)
    GridCellRendererBase.ResetCurrentCellState()
    GridCellRendererBase.RaiseSaveChanges()
    GridCellRendererBase.SetFocus(Boolean)
    GridCellRendererBase.Dispose()
    GridCellRendererBase.Dispose(Boolean)
    GridCellRendererBase.PreviewInputText
    GridCellRendererBase.IsEditable
    GridCellRendererBase.IsFocusible
    GridCellRendererBase.HasCurrentCellState
    GridCellRendererBase.CurrentCellIndex
    GridCellRendererBase.CurrentCellElement
    GridCellRendererBase.CurrentCellRendererElement
    GridCellRendererBase.CurrentStyle
    GridCellRendererBase.IsInEditing
    GridCellRendererBase.IsFocused
    GridCellRendererBase.DisplayElementOptimization
    GridCellRendererBase.SupportRenderOptimization
    GridCellRendererBase.UseOnlyRendererElement
    GridCellRendererBase.SupportDrawingOptimization
    GridCellRendererBase.MoveCurrentCell
    GridCellRendererBase.Grid
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.UI.Xaml.CellGrid.GridCellRenderer
    Assembly: Syncfusion.SfCellGrid.WPF.dll
    Syntax
    public class GridUpDownCellRenderer : GridVirtualizingCellRenderer<TextBlock, UpDown>, IGridCellRenderer, IDisposable

    Constructors

    GridUpDownCellRenderer()

    Declaration
    public GridUpDownCellRenderer()

    Methods

    GetControlValue()

    Returns the controlvalue of the current render- SfNumericUpDown.

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

    GetFormattedText(GridStyleInfo)

    Declaration
    public override string GetFormattedText(GridStyleInfo style)
    Parameters
    Type Name Description
    GridStyleInfo style
    Returns
    Type Description
    System.String
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRenderer<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.UpDown>.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
    System.Windows.RoutedEventArgs e
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.UpDown>.OnEditElementLoaded(System.Object, System.Windows.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

    System.Windows.Controls.TextBlock uiElement

    display uielement

    GridStyleInfo style

    grid style information

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

    OnInitializeEditElement(RowColumnIndex, UpDown, GridStyleInfo, String)

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

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

    row and column index of the cell

    UpDown uiElement

    edit uielement

    GridStyleInfo style

    grid style information

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

    OnUnwireEditUIElement(UpDown)

    Declaration
    protected override void OnUnwireEditUIElement(UpDown uiElement)
    Parameters
    Type Name Description
    UpDown uiElement
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.UpDown>.OnUnwireEditUIElement(Syncfusion.Windows.Shared.UpDown)

    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
    System.Windows.Controls.TextBlock uiElement

    display uielement

    GridStyleInfo style

    grid style information

    System.String text

    grid style information

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

    OnUpdateEditCellStyle(RowColumnIndex, UpDown, GridStyleInfo, String)

    Update the edit element while scrolling the grid.

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

    edit uielement.

    GridStyleInfo style

    grid style information.

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

    OnWireEditUIElement(UpDown)

    Declaration
    protected override void OnWireEditUIElement(UpDown uiElement)
    Parameters
    Type Name Description
    UpDown uiElement
    Overrides
    Syncfusion.UI.Xaml.CellGrid.GridCellRenderer.GridVirtualizingCellRendererBase<System.Windows.Controls.TextBlock, Syncfusion.Windows.Shared.UpDown>.OnWireEditUIElement(Syncfusion.Windows.Shared.UpDown)

    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 Description
    System.Boolean
    Overrides
    GridCellRendererBase.SetControlValue(Object)

    ShouldGridTryToHandleKeyDown(KeyEventArgs)

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

    Implements

    IGridCellRenderer
    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved