Class
RepeatingSectionViewModel

Represents the RepeatingSectionViewModel class.

Definition

Namespace:Telerik.Windows.Controls.RichTextBoxUI.Dialogs

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

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

Inheritance: objectViewModelBaseRepeatingSectionViewModel

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

RepeatingSectionViewModel(RepeatingSectionProperties)

Constructs the RepeatingSectionViewModel.

Declaration

cs-api-definition
public RepeatingSectionViewModel(RepeatingSectionProperties repeatingSectionProperties)

Parameters

repeatingSectionProperties

RepeatingSectionProperties

The repeating section properties that define the control.

Properties

AllowInsertAndDeleteSections

Gets or sets the ability to insert and delete sections.

Declaration

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

Property Value

bool

SectionTitle

Gets or sets the section title.

Declaration

cs-api-definition
public string SectionTitle { get; set; }

Property Value

string

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()