Class
DataFormMessage

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

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class DataFormMessage : MessageBase, IReportMessageResult, INotifyPropertyChanged, IOverlayMessage, IInlineMessage

Inheritance: objectMessageBaseDataFormMessage

Implements: IInlineMessageINotifyPropertyChangedIOverlayMessageIReportMessageResult

Inherited Members MessageBase.SubscribeToMessageResult(Action<object, MessageResultEventArgs>)MessageBase.ValidateMessageDisplayPosition()MessageBase.OnPropertyChanged(string)MessageBase.ReportViewModelMessageBase.DisplayPositionMessageBase.MessageTypeMessageBase.AutoReportMessageBase.PostResultInlineMessageBase.CloseAfterReportMessageBase.ReportActionsMessageBase.AuthorMessageBase.CreationDateMessageBase.PropertyChanged

Constructors

DataFormMessage(MessageDisplayPosition, Author, object, IEnumerable<string>, DateTime)

Initializes a new instance of the DataFormMessage class.

Declaration

cs-api-definition
public DataFormMessage(MessageDisplayPosition displayPosition, Author author, object item, IEnumerable<string> propertyNames, DateTime creationDate = default)

Parameters

displayPosition

MessageDisplayPosition

author

Author

item

object

propertyNames

IEnumerable<string>

creationDate

DateTime

Properties

Fields

Gets the collection of DataFormFields.

Declaration

cs-api-definition
public RadObservableCollection<DataFormField> Fields { get; }

Property Value

RadObservableCollection<DataFormField>

InlineViewModel

Gets the InlineViewModel.

Declaration

cs-api-definition
public InlineViewModel InlineViewModel { get; }

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

Item

Gets or sets the bound item.

Declaration

cs-api-definition
[ReportResult]
public object Item { get; set; }

Property Value

object

OverlayViewModel

Gets the OverlayViewModel.

Declaration

cs-api-definition
public OverlayViewModel OverlayViewModel { get; }

Property Value

OverlayViewModel

Implements IOverlayMessage.OverlayViewModel

PropertyNames

Gets or sets the collection of property names.

Declaration

cs-api-definition
public IEnumerable<string> PropertyNames { get; set; }

Property Value

IEnumerable<string>

Methods

ProcessItem(object)

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

Declaration

cs-api-definition
protected void ProcessItem(object processedItem)

Parameters

processedItem

object