Table of Contents

Class Cell

Namespace
TimeCockpit.Data.DataModel.View
Assembly
TimeCockpit.Data.dll

Represents a field in a List or a Form.

public abstract class Cell : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged, IWeakEventListener
Inheritance
Object
Cell
Implements
IDynamicMetaObjectProvider
INotifyPropertyChanged
IWeakEventListener
Derived
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()

Constructors

Cell()

Initializes a new instance of the Cell class.

public Cell()

Properties

AggregateFunction

Gets or sets the AggregateFunction used for this cell when multiple cells are merged (in a column, e.g.)

public DefaultAggregateFunction? AggregateFunction { get; set; }

Property Value

Nullable<DefaultAggregateFunction>

Background

Gets or sets the background color of the cell.

public string Background { get; set; }

Property Value

String

ColSpan

Gets or sets the colspan of the cell.

public int? ColSpan { get; set; }

Property Value

Nullable<Int32>

DataType

Gets or sets the data type of the cell-

public Type DataType { get; set; }

Property Value

Type

Foreground

Gets or sets the foreground color of the cell.

public string Foreground { get; set; }

Property Value

String

Header

Gets or sets the header of the cell.

public string Header { get; set; }

Property Value

String

Gets or sets the the configuration of a hyperlink.

public Hyperlink Hyperlink { get; set; }

Property Value

Hyperlink

IsColumnVisible

Gets or sets a value indicating whether a column in a list is visible.

public object IsColumnVisible { get; set; }

Property Value

Object

IsEnabled

Gets or sets a value indicating whether the cell is enabled.

public object IsEnabled { get; set; }

Property Value

Object

IsReadOnly

Gets or sets a value indicating whether the cell is read only.

public object IsReadOnly { get; set; }

Property Value

Object

IsVisible

Gets or sets a value indicating whether the cell is visible.

public object IsVisible { get; set; }

Property Value

Object

LabelPosition

Gets or sets a value indicating whether the label should be displayed above the input field.

public LabelPosition LabelPosition { get; set; }

Property Value

LabelPosition

MaxWidth

Gets or sets the maximum width of the cell.

public double? MaxWidth { get; set; }

Property Value

Nullable<Double>

MinWidth

Gets or sets the minimum width of the cell.

public double? MinWidth { get; set; }

Property Value

Nullable<Double>

RowSpan

Gets or sets the rowspan of the cell.

public int? RowSpan { get; set; }

Property Value

Nullable<Int32>

Width

Gets or sets the width of the cell.

public double? Width { get; set; }

Property Value

Nullable<Double>

Methods

GetPropertyInfos()

Gets a list of all properties.

public Dictionary<string, string> GetPropertyInfos()

Returns

Dictionary<String, String>

Returns a list of all properties.

ReceiveWeakEvent(Type, Object, EventArgs)

Receives events from the centralized event manager.

public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)

Parameters

managerType Type

The type of the System.Windows.WeakEventManager calling this method.

sender Object

Object that originated the event.

e EventArgs

Event data.

Returns

Boolean

true if the listener handled the event. It is considered an error by the System.Windows.WeakEventManager handling in WPF to register a listener for an event that the listener does not handle. Regardless, the method should return false if it receives an event that it does not recognize or handle.