Show / Hide Table of Contents

Method BindToForeignKeyBox

| Improve this Doc View Source

BindToForeignKeyBox<TKey, TLookup>(TKey, TLookup, Func<ColumnValueBag, TKey, String>)

Binds a foreign key to ForeignKeyBox.

Declaration
public static RowBinding<ForeignKeyBox> BindToForeignKeyBox<TKey, TLookup>(this TKey key, TLookup lookup, Func<ColumnValueBag, TKey, string> titleGetter)

    where TKey : CandidateKey where TLookup : Projection
Parameters
Type Name Description
TKey key

The foreign key.

TLookup lookup

The lookup projection.

System.Func<ColumnValueBag, TKey, System.String> titleGetter

The getter that returns title string.

Returns
Type Description
RowBinding<ForeignKeyBox>

The row binding object.

Type Parameters
Name Description
TKey

The type of the foreign key.

TLookup

The type of the lookup projection.

| Improve this Doc View Source

BindToForeignKeyBox<TKey, TLookup>(TKey, TLookup, Func<ColumnValueBag, TKey, TLookup, String>)

Binds a foreign key to ForeignKeyBox.

Declaration
public static RowBinding<ForeignKeyBox> BindToForeignKeyBox<TKey, TLookup>(this TKey key, TLookup lookup, Func<ColumnValueBag, TKey, TLookup, string> titleGetter)

    where TKey : CandidateKey where TLookup : Projection
Parameters
Type Name Description
TKey key

The foreign key.

TLookup lookup

The lookup projection.

System.Func<ColumnValueBag, TKey, TLookup, System.String> titleGetter

The getter that returns title string.

Returns
Type Description
RowBinding<ForeignKeyBox>

The row binding object.

Type Parameters
Name Description
TKey

The type of the foreign key.

TLookup

The type of the lookup projection.

| Improve this Doc View Source

BindToForeignKeyBox<TKey, TLookup, TView>(TKey, TLookup, Action<TView, ColumnValueBag, TLookup>)

Binds a foreign key to ForeignKeyBox.

Declaration
public static RowBinding<ForeignKeyBox> BindToForeignKeyBox<TKey, TLookup, TView>(this TKey key, TLookup lookup, Action<TView, ColumnValueBag, TLookup> refreshAction)

    where TKey : CandidateKey where TLookup : Projection where TView : UIElement, new()
Parameters
Type Name Description
TKey key

The foreign key.

TLookup lookup

The lookup projection.

System.Action<TView, ColumnValueBag, TLookup> refreshAction

The action to refresh the content view.

Returns
Type Description
RowBinding<ForeignKeyBox>

The row binding object.

Type Parameters
Name Description
TKey

The type of the foreign key.

TLookup

The type of the lookup projection.

TView

The type of the content view to display lookup data.

| Improve this Doc View Source

BindToForeignKeyBox<TKey, TLookup, TView>(TKey, TLookup, Action<TView, ColumnValueBag, TKey, TLookup>)

Binds a foreign key to ForeignKeyBox.

Declaration
public static RowBinding<ForeignKeyBox> BindToForeignKeyBox<TKey, TLookup, TView>(this TKey key, TLookup lookup, Action<TView, ColumnValueBag, TKey, TLookup> refreshAction)

    where TKey : CandidateKey where TLookup : Projection where TView : UIElement, new()
Parameters
Type Name Description
TKey key

The foreign key.

TLookup lookup

The lookup projection.

System.Action<TView, ColumnValueBag, TKey, TLookup> refreshAction

The action to refresh the content view.

Returns
Type Description
RowBinding<ForeignKeyBox>

The row binding object.

Type Parameters
Name Description
TKey

The type of the foreign key.

TLookup

The type of the lookup projection.

TView

The type of the content view to display lookup data.

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