Class Cell
Inheritance
Implements
Inherited Members
Namespace: TimeCockpit.Data.DataModel.View
Assembly: TimeCockpit.Data.dll
Syntax
public abstract class Cell : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged, IWeakEventListener
Constructors
Cell()
Initializes a new instance of the Cell class.
Declaration
public Cell()
Properties
AggregateFunction
Gets or sets the AggregateFunction used for this cell when multiple cells are merged (in a column, e.g.)
Declaration
public DefaultAggregateFunction? AggregateFunction { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DefaultAggregateFunction> |
Background
Gets or sets the background color of the cell.
Declaration
public string Background { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ColSpan
Gets or sets the colspan of the cell.
Declaration
public int? ColSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
DataType
Gets or sets the data type of the cell-
Declaration
public Type DataType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |
Foreground
Gets or sets the foreground color of the cell.
Declaration
public string Foreground { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Header
Gets or sets the header of the cell.
Declaration
public string Header { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Hyperlink
Gets or sets the the configuration of a hyperlink.
Declaration
public Hyperlink Hyperlink { get; set; }
Property Value
Type | Description |
---|---|
Hyperlink |
IsColumnVisible
Gets or sets a value indicating whether a column in a list is visible.
Declaration
public object IsColumnVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
IsEnabled
Gets or sets a value indicating whether the cell is enabled.
Declaration
public object IsEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
IsReadOnly
Gets or sets a value indicating whether the cell is read only.
Declaration
public object IsReadOnly { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
IsVisible
Gets or sets a value indicating whether the cell is visible.
Declaration
public object IsVisible { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
LabelPosition
Gets or sets a value indicating whether the label should be displayed above the input field.
Declaration
public LabelPosition LabelPosition { get; set; }
Property Value
Type | Description |
---|---|
LabelPosition |
MaxWidth
Gets or sets the maximum width of the cell.
Declaration
public double? MaxWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MinWidth
Gets or sets the minimum width of the cell.
Declaration
public double? MinWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
RowSpan
Gets or sets the rowspan of the cell.
Declaration
public int? RowSpan { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
Width
Gets or sets the width of the cell.
Declaration
public double? Width { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Methods
GetPropertyInfos()
Gets a list of all properties.
Declaration
public Dictionary<string, string> GetPropertyInfos()
Returns
Type | Description |
---|---|
System.Collections.Generic.Dictionary<System.String, System.String> | Returns a list of all properties. |
ReceiveWeakEvent(Type, Object, EventArgs)
Receives events from the centralized event manager.
Declaration
public bool ReceiveWeakEvent(Type managerType, object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Type | managerType | The type of the System.Windows.WeakEventManager calling this method. |
System.Object | sender | Object that originated the event. |
System.EventArgs | e | Event data. |
Returns
Type | Description |
---|---|
System.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. |