Show / Hide Table of Contents

Class CellStyle<T>

Object-oriented WPF style for TableCell elements.

Inheritance
object
WpfStyle
CellStyle<T>
Implements
ICellStyle
IWpfStyle
Inherited Members
WpfStyle.Background
WpfStyle.Foreground
WpfStyle.BorderBrush
WpfStyle.BorderThickness
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 Source

Alignment

Text alignment to use for placing the information in the cell.

Declaration
public TextAlignment Alignment { get; set; }
Property Value
Type Description
TextAlignment
| Edit this page View Source

OddBackground

Brush background to apply to the element for odd items.

Declaration
public Brush? OddBackground { get; set; }
Property Value
Type Description
Brush
| Edit this page View Source

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>
| Edit this page View Source

Width

Width of the cell.

Declaration
public GridLength? Width { get; set; }
Property Value
Type Description
GridLength?

Implements

ICellStyle
IWpfStyle

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowClone<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX