Class Form
- Namespace
- TimeCockpit.Data.DataModel.View
- Assembly
- TimeCockpit.Data.dll
Displays one record of an entity in a form.
public class Form : View, INotifyPropertyChanged
- Inheritance
-
ObjectForm
- Implements
-
INotifyPropertyChanged
- Inherited Members
-
Object.Equals(Object)Object.Equals(Object, Object)Object.ReferenceEquals(Object, Object)Object.GetHashCode()Object.GetType()Object.MemberwiseClone()
Constructors
Form()
Initializes a new instance of the Form class.
public Form()
Properties
AutoRefreshOnDataUpdates
Gets or sets a value indicating whether the form and all backreference tabs should be automatically updated if any data changes.
public bool AutoRefreshOnDataUpdates { get; set; }
Property Value
- Boolean
Header
Gets or sets a header expression.
public string Header { get; set; }
Property Value
- String
IncludeClause
Gets or sets the include clause for the statement. If no include clause is specified ".Include(*)" is used.
public string IncludeClause { get; set; }
Property Value
- String
Tabs
Gets a list of tabs in the form.
public ObservableCollection<Tab> Tabs { get; }
Property Value
- ObservableCollection<Tab>
UseParametersAsDefaultValues
Gets or sets a value indicating whether to use all passed parameters as default values when the name matches.
public bool? UseParametersAsDefaultValues { get; set; }
Property Value
- Nullable<Boolean>
VerticalTabOrder
Gets or sets a value indicating whether to use vertical tab order instead of the default horizontal tab order. If this value is not set, the tab order of the parenting form is used.
public bool? VerticalTabOrder { get; set; }
Property Value
- Nullable<Boolean>
Width
Gets or sets the default width of the form.
public int? Width { get; set; }
Property Value
- Nullable<Int32>
Methods
TabChanged(Object, PropertyChangedEventArgs)
Event handler for the TabChanged(Object, PropertyChangedEventArgs) event. If a tab is changed in the Tabs collection, we fire the PropertyChanged event for Tabs
protected void TabChanged(object sender, PropertyChangedEventArgs e)
Parameters
senderObjectObject sending the event (currently not used)
ePropertyChangedEventArgsEvent arguments.
TabsChanged(Object, NotifyCollectionChangedEventArgs)
Raised, when an item is added to the Tabs collection.
protected void TabsChanged(object sender, NotifyCollectionChangedEventArgs e)
Parameters
senderObjectThe sender that fired the event
eNotifyCollectionChangedEventArgsProvides information about event arguments