Class
SectionColumnDataViewModel

Represents row of section column.

Definition

Constructors

SectionColumnDataViewModel(int, double, double?)

Creates new instance of SectionColumnDataViewModel class.

Declaration

cs-api-definition
public SectionColumnDataViewModel(int columnId, double width, double? spacingAfter)

Parameters

columnId

int

The id of the column.

width

double

The width of the column.

spacingAfter

double?

The spacing after the column.

Properties

ColumnId

Gets or sets the Id of the column.

Declaration

cs-api-definition
public int ColumnId { get; set; }

Property Value

int

DisplayNumber

Gets the display number for the column.

Declaration

cs-api-definition
public string DisplayNumber { get; }

Property Value

string

IsEnabled

Gets or sets the is enabled.

Declaration

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

Property Value

bool

The is enabled.

MaximumSpacingAfter

Gets or sets the maximum spacing after.

Declaration

cs-api-definition
public double MaximumSpacingAfter { get; set; }

Property Value

double

MaximumWidth

Gets or sets the maximum column width.

Declaration

cs-api-definition
public double MaximumWidth { get; set; }

Property Value

double

MinimumSpacingAfter

Gets or sets the maximum spacing after.

Declaration

cs-api-definition
public double MinimumSpacingAfter { get; }

Property Value

double

MinimumWidth

Gets or sets the maximum column width.

Declaration

cs-api-definition
public double MinimumWidth { get; }

Property Value

double

SpacingAfter

Gets or sets the spacing after for the column.

Declaration

cs-api-definition
public double? SpacingAfter { get; set; }

Property Value

double?

Width

Gets or sets the width of the column.

Declaration

cs-api-definition
public double Width { get; set; }

Property Value

double

Methods

CanDecreaseSpacingAfter(double)

Indicates whether the spacing after can be decreased.

Declaration

cs-api-definition
public bool CanDecreaseSpacingAfter(double widthToDecrease)

Parameters

widthToDecrease

double

The width for which to check.

Returns

bool

True
if the spacing can be decreased. Otherwise
False
.

CanDecreaseWidth(double)

Indicates whether the width can be decreased.

Declaration

cs-api-definition
public bool CanDecreaseWidth(double widthToDecrease)

Parameters

widthToDecrease

double

The width for which to check.

Returns

bool

True
if the width can be decreased. Otherwise
False
.

OnColumnSpacingChanged(SectionColumnDataChangedEventArgs)

Executes when ColumnSpacing changes.

Declaration

cs-api-definition
protected virtual void OnColumnSpacingChanged(SectionColumnDataChangedEventArgs e)

Parameters

e

SectionColumnDataChangedEventArgs

Event parameters.

OnColumnWidthChanged(SectionColumnDataChangedEventArgs)

Executes when ColumnWidth changes.

Declaration

cs-api-definition
protected virtual void OnColumnWidthChanged(SectionColumnDataChangedEventArgs e)

Parameters

e

SectionColumnDataChangedEventArgs

Event parameters.

Events

ColumnSpacingChanged

Occurs when ColumnSpacing changed

Declaration

cs-api-definition
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnSpacingChanged

Event Value

SectionColumnDataViewModel.ValueChangedEventHandler

ColumnWidthChanged

Occurs when ColumnWidth changed

Declaration

cs-api-definition
public event SectionColumnDataViewModel.ValueChangedEventHandler ColumnWidthChanged

Event Value

SectionColumnDataViewModel.ValueChangedEventHandler