Search Results for

    Show / Hide Table of Contents

    Class GenericStyleSelector

    Generic style-selector, which provides selection over a simple method

    Inheritance
    System.Object
    System.Windows.Controls.StyleSelector
    GenericStyleSelector
    Inherited Members
    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: Simplic.UI.GridView
    Assembly: Simplic.UI.dll
    Syntax
    public class GenericStyleSelector : StyleSelector

    Constructors

    | Improve this Doc View Source

    GenericStyleSelector(Func<Object, Style>)

    Create a new generic selector, which will execute a delegate for selecting styles

    Declaration
    public GenericStyleSelector(Func<object, Style> selector)
    Parameters
    Type Name Description
    System.Func<System.Object, System.Windows.Style> selector

    Selector which points to a selector method

    Methods

    | Improve this Doc View Source

    SelectStyle(Object, DependencyObject)

    Call delegate if defined

    Declaration
    public override Style SelectStyle(object item, DependencyObject container)
    Parameters
    Type Name Description
    System.Object item
    System.Windows.DependencyObject container
    Returns
    Type Description
    System.Windows.Style
    Overrides
    System.Windows.Controls.StyleSelector.SelectStyle(System.Object, System.Windows.DependencyObject)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx