Class FormViewModel
Provides a data context for data fields in a data form.
Inherited Members
Namespace: Telerik.Windows.Controls.Data.DataForm
Assembly: Telerik.Windows.Controls.Data.dll
Syntax
public class FormViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Constructors
FormViewModel()
Declaration
public FormViewModel()
Properties
AddNewButtonVisibility
Gets or sets a value indicating whether the Add New button will be visible.
Declaration
public Visibility AddNewButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
CancelButtonVisibility
Gets or sets a value indicating whether the Cancel button is visible.
Declaration
public Visibility CancelButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
CommitButtonVisibility
Gets or sets a value indicating whether the Commit button is visible.
Declaration
public Visibility CommitButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
CurrentItem
Gets the current item.
Declaration
public object CurrentItem { get; }
Property Value
System.Object
|
DeleteButtonVisibility
Gets or sets a value indicating whether the Delete button is visible.
Declaration
public Visibility DeleteButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
EditButtonVisibility
Gets or sets a value indicating whether the Edit button is visible.
Declaration
public Visibility EditButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
IsBoundToCollection
Identifies whether the ItemsSource property is in use in order to control the collection navigation UI visibility.
Declaration
public bool IsBoundToCollection { get; }
Property Value
System.Boolean
|
Items
The collections of data items.
Declaration
public DataItemCollection Items { get; }
Property Value
DataItemCollection
|
Mode
Gets the current mode.
Declaration
public RadDataFormMode Mode { get; }
Property Value
RadDataFormMode
|