Show / Hide Table of Contents

Class RowPresenter

Contains presentation logic of DataRow.

Inheritance
System.Object
ElementPresenter
RowPresenter
Inherited Members
ElementPresenter.Presenter
ElementPresenter.DataPresenter
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public sealed class RowPresenter : ElementPresenter

Properties

Name Description
Children

Gets the child row presenters.

DataRow

Gets the DataRow.

DataSet

Gets the DataSet.

Depth

Gets the depth of recursive row.

HasChildren

Gets a value indicates whether child row exists.

HasVisibleValidationError

Gets the value indicates whether visible validation error exists.

Index

Gets the index.

IsCurrent

Gets a value indicates whether this row is current row.

IsEditing

Gets a value indicates whether this row is in editing mode.

IsExpanded

Gets a value indicates whether this row is expanded to display child rows.

IsInserting

Gets a value indicates whether this row is in inserting mode.

IsSelected

Gets or sets the value indicates whether this row is selected.

IsVirtual

Gets a value indicates whether this row is virtual for inserting.

Item[Column]

Gets or sets the data value for specified column.

Item[Column, Boolean]

Gets the data value for specified column.

Parent

Gets the parent row presenter.

Template
View

Gets the row view.

VisibleValidationErrors

Gets the visible validation errors.

Methods

Name Description
BeginEdit()

Begins the editing mode.

BeginInsertAfter(RowPresenter)

Begins inserting child row after specified child row.

BeginInsertBefore(RowPresenter)

Begins inserting child row before specified child row.

CancelEdit()

Cancels the editing mode.

Delete()

Deletes this row.

EditValue<T>(Column<T>, T)

Begins the editing mode and change the data value for specified column.

EndEdit(Boolean)

Ends the editing mode.

GetLength(GridTrack)

Gets the length for layout grid track.

GetMeasuredLength(GridTrack)

Gets the measured length of layout grid track.

GetValidationInfo(Input<RowBinding, IColumns>)

Gets the validation info for specified input.

GetValue<T>(Column<T>, Boolean)

Gets the data value for specified column.

HasValidationError(Input<RowBinding, IColumns>)

Determines whether validation error exists for specified input.

IsNull(Column)

Determines whether data value of specified column is null.

IsValidating(Input<RowBinding, IColumns>)

Determines whether specified input is validating.

MakeValueBag(CandidateKey, Projection)

Creates column value bag with specified key and lookup.

Resize(GridTrack, GridLength)

Resizes the layout grid track.

SetValueBag(ColumnValueBag, CandidateKey, Projection)

Sets key and lookup values in ColumnValueBag.

SetValueBag(ColumnValueBag, Column)

Sets column value in ColumnValueBag.

ToggleExpandState()

Toggles the expand state to display/hide child rows.

ToString()
UpdateSortOrder()

Update sort order of this RowPresenter.

Validate(Boolean)

Performs validation operation.

Events

Name Description
ValueChanged

Occurs when data value changed.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest