Class SectionColumnsDialogViewModel
The view model of SectionColumnsDialog.
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Dialogs.SectionColumns
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SectionColumnsDialogViewModel : ViewModelBase, INotifyPropertyChanged
Constructors
SectionColumnsDialogViewModel()
Declaration
public SectionColumnsDialogViewModel()
Properties
ApplyChangesCommand
Declaration
public ICommand ApplyChangesCommand { get; }
Property Value
System.Windows.Input.ICommand
|
CancelChangesCommand
Declaration
public ICommand CancelChangesCommand { get; }
Property Value
System.Windows.Input.ICommand
|
ColumnsCount
Declaration
public int ColumnsCount { get; set; }
Property Value
System.Int32
|
ColumnsItemsSource
Declaration
public ObservableCollection<SectionColumnDataViewModel> ColumnsItemsSource { get; set; }
Property Value
System.Collections.ObjectModel.ObservableCollection<SectionColumnDataViewModel>
|
EqualColumnWidth
Declaration
public bool EqualColumnWidth { get; set; }
Property Value
System.Boolean
|
HasLineBetween
Declaration
public bool HasLineBetween { get; set; }
Property Value
System.Boolean
|
MaxColumnsCount
Declaration
public int MaxColumnsCount { get; }
Property Value
System.Int32
|
SelectedSectionColumnsLayout
Gets or sets the predefined selected section columns layout.
Declaration
public Nullable<SectionColumnsLayout> SelectedSectionColumnsLayout { get; set; }
Property Value
System.Nullable<SectionColumnsLayout>
|
Methods
GetSectionColumnsCollection()
Declaration
public SectionColumnCollection GetSectionColumnsCollection()
Returns
SectionColumnCollection
|
InitializeViewModel(SectionColumnCollection, Double, Double)
Declaration
public void InitializeViewModel(SectionColumnCollection collection, double pageWidth, double pageMargin)
Parameters
SectionColumnCollection
collection
|
System.Double
pageWidth
|
System.Double
pageMargin
|
Events
ApplyChangesRequested
Declaration
public event EventHandler ApplyChangesRequested
Event Type
System.EventHandler
|
CancelChangesRequested
Declaration
public event EventHandler CancelChangesRequested
Event Type
System.EventHandler
|