[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.ListTextColumn

ListTextColumn Class

Represents a GcListBox column that hosts TextBlock controls in its SubItems.

Inheritance
ListTextColumn
Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
[StyleTypedProperty(Property = "HeaderStyle", StyleTargetType = typeof(ListHeader))]
[StyleTypedProperty(Property = "SubItemStyle", StyleTargetType = typeof(SubItem))]
[StyleTypedProperty(Property = "ElementStyle", StyleTargetType = typeof(TextBlock))]
public sealed class ListTextColumn : ListColumn
<StyleTypedProperty(Property:="HeaderStyle", StyleTargetType:=GetType(ListHeader))>
<StyleTypedProperty(Property:="SubItemStyle", StyleTargetType:=GetType(SubItem))>
<StyleTypedProperty(Property:="ElementStyle", StyleTargetType:=GetType(TextBlock))>
Public NotInheritable Class ListTextColumn
    Inherits ListColumn

Constructors

Name Description
ListTextColumn()

Initializes a new instance of the ListTextColumn class.

Fields

Name Description
FontFamilyProperty

Identifies the FontFamily DependencyProperty.

Properties

Name Description
FontFamily

Gets or sets the font family of the content of SubItems in the column. This is a dependency property.

FontSize

Gets or sets the font size of the content of SubItems in the column.

FontStyle

Gets or sets the font style of the content of SubItems in the column.

FontWeight

Gets or sets the font weight of the contents of SubItems in the column.

Foreground

Gets or sets the brush that is used to paint the text contents of SubItems in the column.

TextTrimming

Gets or sets the text trimming behavior to employ when content of SubItems in the column overflows the content area.

TextWrapping

Gets or sets how SubItems in the column wrap text.

Methods

Name Description
GenerateElement(SubItem)

Gets a read-only TextBlock element that is bound to the column according to GrapeCity.Windows.InputMan.ListColumn.MemberPath property value.