Class CellStyle<T>
Object-oriented WPF style for TableCell elements.
Inherited Members
Namespace: TheXDS.MCART.Types
Assembly: MCART.Wpf.FlowDocumentExtensions.dll
Syntax
public class CellStyle<T> : WpfStyle, ICellStyle, IWpfStyle
Type Parameters
| Name | Description |
|---|---|
| T |
Properties
| Edit this page View SourceAlignment
Text alignment to use for placing the information in the cell.
Declaration
public TextAlignment Alignment { get; set; }
Property Value
| Type | Description |
|---|---|
| TextAlignment |
OddBackground
Brush background to apply to the element for odd items.
Declaration
public Brush? OddBackground { get; set; }
Property Value
| Type | Description |
|---|---|
| Brush |
StyleApplies
Gets or sets the conditional function to apply this style.
Declaration
public Func<T, bool>? StyleApplies { get; set; }
Property Value
| Type | Description |
|---|---|
| Func<T, bool> |
Width
Width of the cell.
Declaration
public GridLength? Width { get; set; }
Property Value
| Type | Description |
|---|---|
| GridLength? |