Show / Hide Table of Contents

Method BindToTextBox

| Improve this Doc View Source

BindToTextBox(Column<String>)

Binds string column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<string> source)
Parameters
Type Name Description
Column<System.String> source

The source string column.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Int16>>, String)

Binds nullable System.Int16 column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<short? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Int16>> source

The source nullable System.Int16 column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Int32>>, String)

Binds nullable System.Int32 column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<int? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Int32>> source

The source nullable System.Int32 column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Int64>>, String)

Binds nullable System.Int64 column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<long? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Int64>> source

The source nullable System.Int64 column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Single>>, String)

Binds nullable System.Single column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<float? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Single>> source

The source nullable System.Single column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Double>>, String)

Binds nullable System.Double column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<double? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Double>> source

The source nullable System.Double column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column<Nullable<Decimal>>, String)

Binds nullable System.Decimal column to System.Windows.Controls.TextBox.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column<decimal? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Column<System.Nullable<System.Decimal>> source

The source nullable System.Decimal column.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<String>)

Binds string scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<string> source)
Parameters
Type Name Description
Scalar<System.String> source

The source string scalar data.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Nullable<Int16>>, String)

Binds nullable System.Int16 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<short? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Nullable<System.Int16>> source

The source nullabled System.Int16 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Nullable<Int32>>, String)

Binds nullable System.Int32 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<int? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Nullable<System.Int32>> source

The source nullabled System.Int32 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Nullable<Int64>>, String)

Binds nullable System.Int64 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<long? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Nullable<System.Int64>> source

The source nullabled System.Int64 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Nullable<Single>>, String)

Binds nullable System.Single scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<float? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Nullable<System.Single>> source

The source nullabled System.Single scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Nullable<Double>>, String)

Binds nullable System.Double scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<double? > source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Nullable<System.Double>> source

The source nullabled System.Double scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Int16>, String)

Binds System.Int16 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<short> source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Int16> source

The source System.Int16 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Int32>, String)

Binds System.Int32 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<int> source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Int32> source

The source System.Int32 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Int64>, String)

Binds System.Int64 scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<long> source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Int64> source

The source System.Int64 scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Single>, String)

Binds System.Single scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<float> source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Single> source

The source System.Single scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Scalar<Double>, String)

Binds System.Double scalar data to System.Windows.Controls.TextBox.

Declaration
public static ScalarBinding<TextBox> BindToTextBox(this Scalar<double> source, string flushErrorMessage = null)
Parameters
Type Name Description
Scalar<System.Double> source

The source System.Double scalar data.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
ScalarBinding<System.Windows.Controls.TextBox>

The scalar binding object.

| Improve this Doc View Source

BindToTextBox(Column, IValueConverter, String)

Binds column to System.Windows.Controls.TextBox with specified value converter.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column source, IValueConverter converter, string flushErrorMessage = null)
Parameters
Type Name Description
Column source

The source column.

System.Windows.Data.IValueConverter converter

The value converter.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

| Improve this Doc View Source

BindToTextBox(Column, IValueConverter, CultureInfo, String)

Binds column to System.Windows.Controls.TextBox with specified value converter and culture info.

Declaration
public static RowBinding<TextBox> BindToTextBox(this Column source, IValueConverter converter, CultureInfo cultureInfo, string flushErrorMessage = null)
Parameters
Type Name Description
Column source

The source column.

System.Windows.Data.IValueConverter converter

The value converter.

System.Globalization.CultureInfo cultureInfo

The culture info.

System.String flushErrorMessage

The conversion error message when flushing data from binding to source model.

Returns
Type Description
RowBinding<System.Windows.Controls.TextBox>

The row binding object.

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