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

Represents a message that displays the properties of a bound item.

Definition

Constructors

Initializes a new instance of the DataFormMessage class.

C#
public DataFormMessage(MessageDisplayPosition displayPosition, Author author, object item, IEnumerable<string> propertyNames, DateTime creationDate = default)
Parameters:displayPositionMessageDisplayPositionauthorAuthoritemobjectpropertyNamesIEnumerable<string>creationDateDateTime

Properties

Gets the collection of DataFormFields.

C#
public RadObservableCollection<DataFormField> Fields { get; }

Gets the InlineViewModel.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel

Gets or sets the bound item.

C#
[ReportResult]
public object Item { get; set; }

Gets the OverlayViewModel.

C#
public OverlayViewModel OverlayViewModel { get; }

Implements: IOverlayMessage.OverlayViewModel

Gets or sets the collection of property names.

C#
public IEnumerable<string> PropertyNames { get; set; }

Methods

Extracts collections of fields and property descriptors based on the type of the given item.

C#
protected void ProcessItem(object processedItem)
Parameters:processedItemobject