New to Telerik UI for WPFStart a free 30-day trial

Provides a data context for data fields in a data form.

Definition

Constructors

C#
public FormViewModel()

Properties

Gets or sets a value indicating whether the Add New button will be visible.

C#
public Visibility AddNewButtonVisibility { get; set; }

Gets or sets a value indicating whether the Cancel button is visible.

C#
public Visibility CancelButtonVisibility { get; set; }

Gets or sets a value indicating whether the Commit button is visible.

C#
public Visibility CommitButtonVisibility { get; set; }

Gets the current item.

C#
public object CurrentItem { get; }

Gets or sets a value indicating whether the Delete button is visible.

C#
public Visibility DeleteButtonVisibility { get; set; }

Gets or sets a value indicating whether the Edit button is visible.

C#
public Visibility EditButtonVisibility { get; set; }

Identifies whether the ItemsSource property is in use in order to control the collection navigation UI visibility.

C#
public bool IsBoundToCollection { get; }

The collections of data items.

C#
public DataItemCollection Items { get; }

Gets the current mode.

C#
public RadDataFormMode Mode { get; }

Gets or sets a value indicating whether the collection navigation buttons are visible.

C#
public Visibility NavigationButtonsVisibility { get; set; }