New to Telerik UI for WPFStart a free 30-day trial

Represents row of section column.

Definition

Constructors

Creates new instance of SectionColumnDataViewModel class.

C#
public SectionColumnDataViewModel(int columnId, double width, double? spacingAfter)
Parameters:columnIdint

The id of the column.

widthdouble

The width of the column.

spacingAfterdouble?

The spacing after the column.

Properties

Gets or sets the Id of the column.

C#
public int ColumnId { get; set; }

Gets the display number for the column.

C#
public string DisplayNumber { get; }

Gets or sets the is enabled.

C#
public bool IsEnabled { get; set; }
Property Value:

The is enabled.

Gets or sets the maximum spacing after.

C#
public double MaximumSpacingAfter { get; set; }

Gets or sets the maximum column width.

C#
public double MaximumWidth { get; set; }

Gets or sets the maximum spacing after.

C#
public double MinimumSpacingAfter { get; }

Gets or sets the maximum column width.

C#
public double MinimumWidth { get; }

Gets or sets the spacing after for the column.

C#
public double? SpacingAfter { get; set; }

Gets or sets the width of the column.

C#
public double Width { get; set; }

Methods

Indicates whether the spacing after can be decreased.

C#
public bool CanDecreaseSpacingAfter(double widthToDecrease)
Parameters:widthToDecreasedouble

The width for which to check.

bool

csharp
True

if the spacing can be decreased. Otherwise

csharp
False

.

Indicates whether the width can be decreased.

C#
public bool CanDecreaseWidth(double widthToDecrease)
Parameters:widthToDecreasedouble

The width for which to check.

bool

csharp
True

if the width can be decreased. Otherwise

csharp
False

.

Executes when ColumnSpacing changes.

C#
protected virtual void OnColumnSpacingChanged(SectionColumnDataChangedEventArgs e)
Parameters:eSectionColumnDataChangedEventArgs

Event parameters.

Executes when ColumnWidth changes.

C#
protected virtual void OnColumnWidthChanged(SectionColumnDataChangedEventArgs e)
Parameters:eSectionColumnDataChangedEventArgs

Event parameters.

Events

Occurs when ColumnSpacing changed

C#
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnSpacingChanged

Occurs when ColumnWidth changed

C#
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnWidthChanged