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

Represents a field which shows the Editor Template set to a CardViewDataFormDataField.

Definition

Constructors

C#
public CardViewDataFormDataField()

Fields

EditorTemplateProperty

DependencyProperty

Represents the EditorTemplate dependency property.

C#
public static readonly DependencyProperty EditorTemplateProperty

ReadOnlyTemplateProperty

DependencyProperty

Represents the ReadOnlyTemplate dependency property.

C#
public static readonly DependencyProperty ReadOnlyTemplateProperty

Properties

EditorTemplate

DataTemplate

Gets or sets the template that will be applied in the editor area of this field.

C#
public DataTemplate EditorTemplate { get; set; }

ReadOnlyTemplate

DataTemplate

Gets or sets the template that will be applied when displaying this field.

C#
public DataTemplate ReadOnlyTemplate { get; set; }

Methods

Returns a control to display and edit the underlying data.

C#
protected override Control GetControl()
Returns:

Control

Overrides: DataFormDataField.GetControl()

GetReadOnlyControl()

FrameworkElement

Returns a control to display the underlying data.

C#
protected override FrameworkElement GetReadOnlyControl()
Returns:

FrameworkElement

Overrides: DataFormDataField.GetReadOnlyControl()

Called when the Item property changes.

C#
protected override void OnItemPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters:eDependencyPropertyChangedEventArgs

Overrides: DataFormDataField.OnItemPropertyChanged(DependencyPropertyChangedEventArgs)