Search Results for

    Show / Hide Table of Contents

    Class GridViewBaseCustomColumn<T, I>

    Base class implementation for an IDivergentColumnType. All divergent columns should derive from this class

    Inheritance
    System.Object
    GridViewBaseCustomColumn<T, I>
    GridViewCheckBoxColumn
    GridViewComboBoxColumn
    GridViewTextBoxColumn
    Namespace: Simplic.UI.GridView
    Assembly: Simplic.UI.dll
    Syntax
    public abstract class GridViewBaseCustomColumn<T, I> : GridViewBoundColumnBase where T : IDivergentColumnType where I : FrameworkElement
    Type Parameters
    Name Description
    T

    Type of the IDivergent column/configuration

    I

    Type of the control which will be shown in an editable cell

    Constructors

    | Improve this Doc View Source

    GridViewBaseCustomColumn(T, ColumnConfigurationModel, GridViewControl)

    Create new base for editable column

    Declaration
    public GridViewBaseCustomColumn(T configuration, ColumnConfigurationModel column, GridViewControl grid)
    Parameters
    Type Name Description
    T configuration

    Configuration of the Input-Control to create

    ColumnConfigurationModel column

    Column configuration

    GridViewControl grid

    Instance of the grid

    Properties

    | Improve this Doc View Source

    CellDefaultFocusable

    Default focusable value of a cell

    Declaration
    public bool CellDefaultFocusable { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    ColumnConfiguration

    Configuration of the current column

    Declaration
    public ColumnConfigurationModel ColumnConfiguration { get; }
    Property Value
    Type Description
    ColumnConfigurationModel
    | Improve this Doc View Source

    Configuration

    Input element configuration

    Declaration
    public T Configuration { get; }
    Property Value
    Type Description
    T
    | Improve this Doc View Source

    Grid

    Current grid view instance

    Declaration
    public GridViewControl Grid { get; }
    Property Value
    Type Description
    GridViewControl
    | Improve this Doc View Source

    RedirectFocusByDefault

    Redirect focus to the nested control by default. (Default = true)

    Declaration
    public bool RedirectFocusByDefault { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    SyncCurrentCellOnGotFocus

    Will set the current cell if the nested element got it's focus

    Declaration
    public bool SyncCurrentCellOnGotFocus { get; set; }
    Property Value
    Type Description
    System.Boolean

    Methods

    | Improve this Doc View Source

    CellGotFocus(GridViewCell)

    Default action when a cell got focus (redirection)

    Declaration
    public virtual void CellGotFocus(GridViewCell cell)
    Parameters
    Type Name Description
    GridViewCell cell

    Cell instance

    | Improve this Doc View Source

    CellGotKeyboardFocus(GridViewCell)

    Default action when a cell got keyboard focus (redirection)

    Declaration
    public virtual void CellGotKeyboardFocus(GridViewCell cell)
    Parameters
    Type Name Description
    GridViewCell cell

    Cell instance

    | Improve this Doc View Source

    CreateCellElement(GridViewCell, Object)

    Create input element for editing

    Declaration
    public override FrameworkElement CreateCellElement(GridViewCell cell, object dataItem)
    Parameters
    Type Name Description
    GridViewCell cell
    System.Object dataItem
    Returns
    Type Description
    System.Windows.FrameworkElement
    | Improve this Doc View Source

    CreateInputElement(GridViewCell, Object)

    Create the input control (e.g. CheckBox)

    Declaration
    public abstract I CreateInputElement(GridViewCell cell, object dataItem)
    Parameters
    Type Name Description
    GridViewCell cell

    Grid view cell

    System.Object dataItem

    Data item

    Returns
    Type Description
    I

    Control to create

    | Improve this Doc View Source

    OnControlCreated(FrameworkElement)

    Method which has to be called, when a new control is created.

    Declaration
    protected virtual void OnControlCreated(FrameworkElement control)
    Parameters
    Type Name Description
    System.Windows.FrameworkElement control
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx