Class SectionColumnDataViewModel
Represents row of section column.
Inheritance
Inherited Members
Namespace: Telerik.WinForms.RichTextEditor.RichTextBoxUI.Dialogs
Assembly: Telerik.WinControls.RichTextEditor.dll
Syntax
public class SectionColumnDataViewModel : INotifyPropertyChanged
Constructors
SectionColumnDataViewModel(Int32, Double, Nullable<Double>)
Creates new instance of SectionColumnDataViewModel class.
Declaration
public SectionColumnDataViewModel(int columnId, double width, 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 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
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. |
OnPropertyChanged(String)
Executes when a property value changes.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
System.String
propertyName
The name of the property which is changed. |
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
|
PropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
System.ComponentModel.PropertyChangedEventHandler
|