UWP

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GridUnBoundCellTextBoxRenderer - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class GridUnBoundCellTextBoxRenderer

    Claas that deals with UnBound column with TexColumn Behavior.

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

    Constructors

    GridUnBoundCellTextBoxRenderer()

    Declaration
    public GridUnBoundCellTextBoxRenderer()

    Methods

    CanUpdateBinding(GridColumn)

    Declaration
    public override bool CanUpdateBinding(GridColumn column)
    Parameters
    Type Name Description
    GridColumn column
    Returns
    Type Description
    System.Boolean
    Overrides
    GridCellRendererBase.CanUpdateBinding(GridColumn)

    GetControlValue()

    Gets the control value.

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

    OnEditElementLoaded(Object, RoutedEventArgs)

    Invoked when the edit element(TextBox) 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, Windows.UI.Xaml.Controls.TextBox>.OnEditElementLoaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnEditElementUnloaded(Object, RoutedEventArgs)

    Invoked when the edit element(TextBox) 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, Windows.UI.Xaml.Controls.TextBox>.OnEditElementUnloaded(System.Object, Windows.UI.Xaml.RoutedEventArgs)

    OnEditingComplete(DataColumnBase, FrameworkElement)

    When complete edit, we need to raise query again to provide entered value to customer.

    Declaration
    protected override void OnEditingComplete(DataColumnBase dataColumn, FrameworkElement currentRendererElement)
    Parameters
    Type Name Description
    DataColumnBase dataColumn

    DataColumn which holds GridColumn, RowColumnIndex and GridCell

    Windows.UI.Xaml.FrameworkElement currentRendererElement

    The UIElement that resides in GridUnBoundCell

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBox>.OnEditingComplete(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.FrameworkElement)

    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, Windows.UI.Xaml.Controls.TextBox>.OnInitializeDisplayElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.TextBlock, System.Object)

    OnInitializeEditElement(DataColumnBase, TextBox, Object)

    Declaration
    public override void OnInitializeEditElement(DataColumnBase dataColumn, TextBox uiElement, object dataContext)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    Windows.UI.Xaml.Controls.TextBox uiElement
    System.Object dataContext
    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBox>.OnInitializeEditElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.TextBox, System.Object)

    OnInitializeTemplateElement(DataColumnBase, ContentControl, Object)

    Declaration
    public override void OnInitializeTemplateElement(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    Windows.UI.Xaml.Controls.ContentControl uiElement
    System.Object dataContext
    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBox>.OnInitializeTemplateElement(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.ContentControl, System.Object)

    OnPreviewTextInput(KeyRoutedEventArgs)

    Raises the PreviewTextInput event.

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

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

    Overrides
    GridCellRendererBase.OnPreviewTextInput(KeyRoutedEventArgs)

    OnUnwireEditUIElement(TextBox)

    Called when [unwire edit unique identifier element].

    Declaration
    protected override void OnUnwireEditUIElement(TextBox uiElement)
    Parameters
    Type Name Description
    Windows.UI.Xaml.Controls.TextBox uiElement

    The unique identifier element.

    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRendererBase<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBox>.OnUnwireEditUIElement(Windows.UI.Xaml.Controls.TextBox)

    OnUpdateTemplateBinding(DataColumnBase, ContentControl, Object)

    Declaration
    public override void OnUpdateTemplateBinding(DataColumnBase dataColumn, ContentControl uiElement, object dataContext)
    Parameters
    Type Name Description
    DataColumnBase dataColumn
    Windows.UI.Xaml.Controls.ContentControl uiElement
    System.Object dataContext
    Overrides
    Syncfusion.UI.Xaml.Grid.Cells.GridVirtualizingCellRenderer<Windows.UI.Xaml.Controls.TextBlock, Windows.UI.Xaml.Controls.TextBox>.OnUpdateTemplateBinding(Syncfusion.UI.Xaml.Grid.DataColumnBase, Windows.UI.Xaml.Controls.ContentControl, System.Object)

    SetControlValue(Object)

    Sets the control value.

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

    The value.

    Overrides
    GridCellRendererBase.SetControlValue(Object)

    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, Windows.UI.Xaml.Controls.TextBox>.ShouldGridTryToHandleKeyDown(Windows.UI.Xaml.Input.KeyRoutedEventArgs)

    Implements

    IGridCellRenderer
    System.IDisposable

    Extension Methods

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