Class
PlainTextSectionViewModel

Represents thePlainTextSectionViewModel class.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class PlainTextSectionViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable, IEditableObject

Inheritance: objectViewModelBasePlainTextSectionViewModel

Implements: IDisposableIEditableObjectINotifyPropertyChanged

Inherited Members ViewModelBase.VerifyPropertyName(string)ViewModelBase.InvokeOnUIThread(Action)ViewModelBase.Dispose()ViewModelBase.RaisePropertyChanged(string)ViewModelBase.OnPropertyChanged(string)ViewModelBase.OnPropertyChanged<T>(Expression<Func<T>>)ViewModelBase.Dispose(bool)ViewModelBase.PropertyChanged

Constructors

PlainTextSectionViewModel(TextProperties)

Constructs the PlainTextSectionViewModel.

Declaration

cs-api-definition
public PlainTextSectionViewModel(TextProperties textProperties)

Parameters

textProperties

TextProperties

The plain text properties that defines the control.

Properties

IsMultiline

Gets or sets whether the text could be multiline or not.

Declaration

cs-api-definition
public bool IsMultiline { get; set; }

Property Value

bool

Methods

BeginEdit()

Starts the editing cycle.

Declaration

cs-api-definition
public void BeginEdit()

Implements IEditableObject.BeginEdit()

CancelEdit()

Finishes the editing cycle and reverts all the changes.

Declaration

cs-api-definition
public void CancelEdit()

Implements IEditableObject.CancelEdit()

EndEdit()

Finishes the editing cycle and retains all the changes.

Declaration

cs-api-definition
public void EndEdit()

Implements IEditableObject.EndEdit()