Class Cell
- Namespace
- TimeCockpit.Data.DataModel.View
- Assembly
- TimeCockpit.Data.dll
public abstract class Cell : NamedDynamicObject, IDynamicMetaObjectProvider, INotifyPropertyChanged, IWeakEventListener
- Inheritance
-
ObjectCell
- Implements
-
IDynamicMetaObjectProviderINotifyPropertyChangedIWeakEventListener
- 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
Hyperlink
Gets or sets the the configuration of a hyperlink.
public Hyperlink Hyperlink { get; set; }
Property Value
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
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
managerTypeTypeThe type of the System.Windows.WeakEventManager calling this method.
senderObjectObject that originated the event.
eEventArgsEvent 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.