Class BindingFactory
Provides static binding factory extension methods.
Inheritance
Inherited Members
Namespace: DevZest.Data.Presenters
Assembly: DevZest.Data.WPF.dll
Syntax
public static class BindingFactory
Methods
| Name | Description |
|---|---|
| AddToGridCell<T>(RowBindingBase<T>) | Adds row binding into GridCell. |
| BindTo<T>(Model) | Binds to UI element as row binding. |
| BindTo<T>(BasePresenter) | Binds to UI element as scalar binding. |
| BindToCheckBox(Column<Boolean>, Object) | Binds a boolean column to System.Windows.Controls.CheckBox. |
| BindToCheckBox(Column<Nullable<Boolean>>, Object) | Binds a nullable boolean column to System.Windows.Controls.CheckBox. |
| BindToCheckBox(Model) | Binds Model to System.Windows.Controls.CheckBox to select current row. |
| BindToCheckBox(DataPresenter) | Binds DataPresenter to System.Windows.Controls.CheckBox to select/deselect all rows. |
| BindToCheckBox(Scalar<Boolean>, Object) | Binds a scalar data to System.Windows.Controls.CheckBox. |
| BindToCheckBox(Scalar<Nullable<Boolean>>, Object) | Binds a nullable scalar data to System.Windows.Controls.CheckBox. |
| BindToCheckBox<T>(Column<T>, T, Object) | Binds an enum value column to System.Windows.Controls.CheckBox. |
| BindToCheckBox<T>(Column<Nullable<T>>, T, Object) | Binds a nullable enum value column to System.Windows.Controls.CheckBox. |
| BindToCheckBox<T>(Scalar<T>, T, Object) | Binds an enum scalar data to System.Windows.Controls.CheckBox. |
| BindToCheckBox<T>(Scalar<Nullable<T>>, T, Object) | Binds a nullable enum scalar data to System.Windows.Controls.CheckBox. |
| BindToColumnHeader(Column, Object) | Binds a column to ColumnHeader. |
| BindToColumnHeader(Func<String>) | Binds title getter to ColumnHeader. |
| BindToComboBox<T>(Column<T>, Column<IEnumerable>, String, String) | Binds a column to System.Windows.Controls.ComboBox. |
| BindToComboBox<T>(Column<T>, IEnumerable, String, String) | Binds a column to System.Windows.Controls.ComboBox. |
| BindToComboBox<T>(Scalar<T>, Scalar<IEnumerable>, String, String) | Binds a scalar data to System.Windows.Controls.ComboBox. |
| BindToComboBox<T>(Scalar<T>, IEnumerable, String, String) | Binds a scalar data to System.Windows.Controls.ComboBox. |
| BindToComboBox<T>(EnumColumn<T>) | Binds an enum column to System.Windows.Controls.ComboBox. |
| BindToDataView<T>(T, Func<DataPresenter<T>>) | Binds child DataSet to DataView. |
| BindToDatePicker(Column<Nullable<DateTime>>) | Binds a nullable DateTime column to System.Windows.Controls.DatePicker. |
| BindToDatePicker(Scalar<Nullable<DateTime>>) | Binds a nullable DateTime scalar data to System.Windows.Controls.DatePicker. |
| BindToForeignKeyBox<TKey, TLookup>(TKey, TLookup, Func<ColumnValueBag, TKey, TLookup, String>) | Binds a foreign key to ForeignKeyBox. |
| BindToForeignKeyBox<TKey, TLookup>(TKey, TLookup, Func<ColumnValueBag, TKey, String>) | Binds a foreign key to ForeignKeyBox. |
| BindToForeignKeyBox<TKey, TLookup, TView>(TKey, TLookup, Action<TView, ColumnValueBag, TKey, TLookup>) | Binds a foreign key to ForeignKeyBox. |
| BindToForeignKeyBox<TKey, TLookup, TView>(TKey, TLookup, Action<TView, ColumnValueBag, TLookup>) | Binds a foreign key to ForeignKeyBox. |
| BindToGridHeader(DataPresenter) | Binds DataPresenter to GridHeader to select/deselect all rows. |
| BindToHyperlink(Column, ICommand, String, IFormatProvider) | Binds column to hyperlink System.Windows.Controls.TextBlock. |
| BindToImage(Column<ImageSource>) | Binds System.Windows.Media.ImageSource column to System.Windows.Controls.Image. |
| BindToImage(Scalar<ImageSource>) | Binds System.Windows.Media.ImageSource scalar data to System.Windows.Controls.Image. |
| BindToLabel(String) | Binds the string to System.Windows.Controls.Label. |
| BindToLabel<TTarget>(Column, RowBinding<TTarget>, String, IFormatProvider) | Binds column to System.Windows.Controls.Label. |
| BindToLabel<TTarget>(String, ScalarBinding<TTarget>) | Binds the string to System.Windows.Controls.Label, with specified target scalar binding. |
| BindToPasswordBox(Column<SecureString>) | Binds System.Security.SecureString column to System.Windows.Controls.PasswordBox. |
| BindToPasswordBox(Column<String>) | Binds string column to System.Windows.Controls.PasswordBox. |
| BindToPasswordBox(Scalar<String>) | Binds string scalar data to System.Windows.Controls.PasswordBox. |
| BindToTextBlock(Column, Func<RowPresenter, String>, IFormatProvider) | Binds column to System.Windows.Controls.TextBlock. |
| BindToTextBlock(Column, String, IFormatProvider) | Binds column to System.Windows.Controls.TextBlock. |
| BindToTextBlock(Model, String) | Binds text to System.Windows.Controls.TextBlock as row binding. |
| BindToTextBlock(BasePresenter, String) | Binds the text to System.Windows.Controls.TextBlock as scalar binding. |
| BindToTextBlock(Scalar, String, IFormatProvider) | Binds scalar data to System.Windows.Controls.TextBlock. |
| BindToTextBlock<T>(Func<T>, String, IFormatProvider) | Binds function to System.Windows.Controls.TextBlock. |
| BindToTextBox(Column, IValueConverter, CultureInfo, String) | Binds column to System.Windows.Controls.TextBox with specified value converter and culture info. |
| BindToTextBox(Column, IValueConverter, String) | Binds column to System.Windows.Controls.TextBox with specified value converter. |
| BindToTextBox(Column<Nullable<Decimal>>, String) | Binds nullable System.Decimal column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<Nullable<Double>>, String) | Binds nullable System.Double column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<Nullable<Int16>>, String) | Binds nullable System.Int16 column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<Nullable<Int32>>, String) | Binds nullable System.Int32 column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<Nullable<Int64>>, String) | Binds nullable System.Int64 column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<Nullable<Single>>, String) | Binds nullable System.Single column to System.Windows.Controls.TextBox. |
| BindToTextBox(Column<String>) | Binds string column to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Double>, String) | Binds System.Double scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Int16>, String) | Binds System.Int16 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Int32>, String) | Binds System.Int32 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Int64>, String) | Binds System.Int64 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Nullable<Double>>, String) | Binds nullable System.Double scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Nullable<Int16>>, String) | Binds nullable System.Int16 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Nullable<Int32>>, String) | Binds nullable System.Int32 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Nullable<Int64>>, String) | Binds nullable System.Int64 scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Nullable<Single>>, String) | Binds nullable System.Single scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<Single>, String) | Binds System.Single scalar data to System.Windows.Controls.TextBox. |
| BindToTextBox(Scalar<String>) | Binds string scalar data to System.Windows.Controls.TextBox. |
| BindToValidationErrorsControl(Model) | Binds row validation errors to ValidationErrorsControl. |
| BindToValidationErrorsControl(BasePresenter) | Binds all scalar validation errors to ValidationErrorsControl. |
| BindToValidationErrorsControl<T>(RowInput<T>) | Binds row input validation errors to ValidationErrorsControl. |
| BindToValidationErrorsControl<T>(ScalarInput<T>) | Binds scalar input validation errors to ValidationErrorsControl. |
| BindToValidationPlaceholder(IColumns, RowBinding[]) | Binds IColumns to ValidationPlaceholder. |
| BindToValidationPlaceholder(IReadOnlyList<RowBinding>) | Binds collection of RowBinding to ValidationPlaceholder. |
| BindToValidationPlaceholder(IReadOnlyList<ScalarBinding>) | Binds collection of ScalarBinding to ValidationPlaceholder. |
| MergeIntoGridCell<T>(RowBinding<T>, String, IFormatProvider) | Merges editor row binding into GridCell, with inert element displays as string. |
| MergeIntoGridCell<TEditor, TInert>(RowBinding<TEditor>, RowBinding<TInert>) | Merges editor row binding into GridCell, with inert row binding. |
| MergeIntoInPlaceEditor<T>(RowBinding<T>, Func<RowPresenter, String>, IFormatProvider) | Merges editor row binding into InPlaceEditor, with inert element displays as string. |
| MergeIntoInPlaceEditor<T>(RowBinding<T>, String, IFormatProvider) | Merges editor row binding into InPlaceEditor, with inert element displays as string. |
| MergeIntoInPlaceEditor<T>(ScalarBinding<T>, String, IFormatProvider) | Merges editor scalar binding into InPlaceEditor, with inert element displays as string. |
| MergeIntoInPlaceEditor<TEditor, TInert>(RowBinding<TEditor>, RowBinding<TInert>) | Merges editor row binding into InPlaceEditor, with inert row binding. |
| MergeIntoInPlaceEditor<TEditor, TInert>(ScalarBinding<TEditor>, ScalarBinding<TInert>) | Merges editor scalar binding into InPlaceEditor, with inert scalar binding. |