Class GridRowStyleSelector
Set the styles for rows in the Simplic GridViewControl
Inheritance
System.Object
System.Windows.Controls.StyleSelector
GridRowStyleSelector
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 GridRowStyleSelector : StyleSelector
Constructors
| Improve this Doc View SourceGridRowStyleSelector(GridViewControl)
Only use this StyleSelect for Telerik RadGridView, valid instance required
Declaration
public GridRowStyleSelector(GridViewControl parent)
Parameters
Type | Name | Description |
---|---|---|
GridViewControl | parent |
Properties
| Improve this Doc View SourceAlternationStyleEven
Style for Rows with even rowIndex
Declaration
public Style AlternationStyleEven { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style |
AlternationStyleUnEven
Style for Rows with uneven rowIndex
Declaration
public Style AlternationStyleUnEven { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style |
CustomRowSelector
Custom Row-Selector, which can be used to override alternating behaviour
Declaration
public Func<object, Style> CustomRowSelector { get; set; }
Property Value
Type | Description |
---|---|
System.Func<System.Object, System.Windows.Style> |
FocusedRowStyle
Style for selected Rows
Declaration
public Style FocusedRowStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style |
SelectedRowStyle
Style for selected Rows
Declaration
public Style SelectedRowStyle { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Style |
Methods
| Improve this Doc View SourceSelectStyle(Object, DependencyObject)
Set the style of a selected row
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)