Class SectionColumnDataViewModel
Represents row of section column.
Inherited Members
Namespace: Telerik.Windows.Controls.RichTextBoxUI.Dialogs.SectionColumns
Assembly: Telerik.Windows.Controls.RichTextBox.dll
Syntax
public class SectionColumnDataViewModel : ViewModelBase, INotifyPropertyChanged, IDisposable
Constructors
SectionColumnDataViewModel(Int32, Double, Nullable<Double>)
Creates new instance of SectionColumnDataViewModel class.
Declaration
public SectionColumnDataViewModel(int columnId, double width, Nullable<double> spacingAfter)
Parameters
System.Int32
columnId
The id of the column. |
System.Double
width
The width of the column. |
System.Nullable<System.Double>
spacingAfter
The spacing after the column. |
Properties
ColumnId
Gets or sets the Id of the column.
Declaration
public int ColumnId { get; set; }
Property Value
System.Int32
|
DisplayNumber
Gets the display number for the column.
Declaration
public string DisplayNumber { get; }
Property Value
System.String
|
IsEnabled
Gets or sets the is enabled.
Declaration
public bool IsEnabled { get; set; }
Property Value
System.Boolean
The is enabled. |
MaximumSpacingAfter
Gets or sets the maximum spacing after.
Declaration
public double MaximumSpacingAfter { get; set; }
Property Value
System.Double
|
MaximumWidth
Gets or sets the maximum column width.
Declaration
public double MaximumWidth { get; set; }
Property Value
System.Double
|
MinimumSpacingAfter
Gets or sets the maximum spacing after.
Declaration
public double MinimumSpacingAfter { get; }
Property Value
System.Double
|
MinimumWidth
Gets or sets the maximum column width.
Declaration
public double MinimumWidth { get; }
Property Value
System.Double
|
SpacingAfter
Gets or sets the spacing after for the column.
Declaration
public Nullable<double> SpacingAfter { get; set; }
Property Value
System.Nullable<System.Double>
|
Width
Gets or sets the width of the column.
Declaration
public double Width { get; set; }
Property Value
System.Double
|
Methods
add_ColumnSpacingChanged(SectionColumnDataViewModel.ValueChangedEventHandler)
Declaration
public void add_ColumnSpacingChanged(SectionColumnDataViewModel.ValueChangedEventHandler value)
Parameters
SectionColumnDataViewModel.ValueChangedEventHandler
value
|
add_ColumnWidthChanged(SectionColumnDataViewModel.ValueChangedEventHandler)
Declaration
public void add_ColumnWidthChanged(SectionColumnDataViewModel.ValueChangedEventHandler value)
Parameters
SectionColumnDataViewModel.ValueChangedEventHandler
value
|
CanDecreaseSpacingAfter(Double)
Indicates whether the spacing after can be decreased.
Declaration
public bool CanDecreaseSpacingAfter(double widthToDecrease)
Parameters
System.Double
widthToDecrease
The width for which to check. |
Returns
System.Boolean
if the spacing can be decreased. Otherwise .
|
CanDecreaseWidth(Double)
Indicates whether the width can be decreased.
Declaration
public bool CanDecreaseWidth(double widthToDecrease)
Parameters
System.Double
widthToDecrease
The width for which to check. |
Returns
System.Boolean
if the width can be decreased. Otherwise .
|
OnColumnSpacingChanged(SectionColumnDataChangedEventArgs)
Executes when ColumnSpacing changes.
Declaration
protected virtual void OnColumnSpacingChanged(SectionColumnDataChangedEventArgs e)
Parameters
SectionColumnDataChangedEventArgs
e
Event parameters. |
OnColumnWidthChanged(SectionColumnDataChangedEventArgs)
Executes when ColumnWidth changes.
Declaration
protected virtual void OnColumnWidthChanged(SectionColumnDataChangedEventArgs e)
Parameters
SectionColumnDataChangedEventArgs
e
Event parameters. |
remove_ColumnSpacingChanged(SectionColumnDataViewModel.ValueChangedEventHandler)
Declaration
public void remove_ColumnSpacingChanged(SectionColumnDataViewModel.ValueChangedEventHandler value)
Parameters
SectionColumnDataViewModel.ValueChangedEventHandler
value
|
remove_ColumnWidthChanged(SectionColumnDataViewModel.ValueChangedEventHandler)
Declaration
public void remove_ColumnWidthChanged(SectionColumnDataViewModel.ValueChangedEventHandler value)
Parameters
SectionColumnDataViewModel.ValueChangedEventHandler
value
|
Events
ColumnSpacingChanged
Occurs when ColumnSpacing changed
Declaration
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnSpacingChanged
Event Type
SectionColumnDataViewModel.ValueChangedEventHandler
|
ColumnWidthChanged
Occurs when ColumnWidth changed
Declaration
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnWidthChanged
Event Type
SectionColumnDataViewModel.ValueChangedEventHandler
|