Share via


BindConverter Class

Definition

Performs conversions during binding.

public ref class BindConverter abstract sealed
public static class BindConverter
type BindConverter = class
Public Class BindConverter
Inheritance
BindConverter

Methods

FormatValue(Boolean, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(DateOnly, CultureInfo)

Formats the provided value as a String.

FormatValue(DateOnly, String, CultureInfo)

Formats the provided value as a String.

FormatValue(DateTime, CultureInfo)

Formats the provided value as a String.

FormatValue(DateTime, String, CultureInfo)

Formats the provided value as a String.

FormatValue(DateTimeOffset, CultureInfo)

Formats the provided value as a String.

FormatValue(DateTimeOffset, String, CultureInfo)

Formats the provided value as a String.

FormatValue(Decimal, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Double, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Int16, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Int32, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Int64, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<Boolean>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<DateOnly>, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<DateOnly>, String, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<DateTime>, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<DateTime>, String, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<DateTimeOffset>, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<DateTimeOffset>, String, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<Decimal>, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<Double>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<Int16>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<Int32>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<Int64>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<Single>, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(Nullable<TimeOnly>, CultureInfo)

Formats the provided value as a String.

FormatValue(Nullable<TimeOnly>, String, CultureInfo)

Formats the provided value as a String.

FormatValue(Single, CultureInfo)

Formats the provided value for inclusion in an attribute.

FormatValue(String, CultureInfo)

Formats the provided value as a String.

FormatValue(TimeOnly, CultureInfo)

Formats the provided value as a String.

FormatValue(TimeOnly, String, CultureInfo)

Formats the provided value as a String.

FormatValue<T>(T, CultureInfo)

Formats the provided value as a String.

TryConvertTo<T>(Object, CultureInfo, T)

Attempts to convert a value to a value of type T.

TryConvertToBool(Object, CultureInfo, Boolean)

Attempts to convert a value to a Boolean.

TryConvertToDateOnly(Object, CultureInfo, DateOnly)

Attempts to convert a value to a DateOnly.

TryConvertToDateOnly(Object, CultureInfo, String, DateOnly)

Attempts to convert a value to a DateOnly.

TryConvertToDateTime(Object, CultureInfo, DateTime)

Attempts to convert a value to a DateTime.

TryConvertToDateTime(Object, CultureInfo, String, DateTime)

Attempts to convert a value to a DateTime.

TryConvertToDateTimeOffset(Object, CultureInfo, DateTimeOffset)

Attempts to convert a value to a DateTimeOffset.

TryConvertToDateTimeOffset(Object, CultureInfo, String, DateTimeOffset)

Attempts to convert a value to a DateTimeOffset.

TryConvertToDecimal(Object, CultureInfo, Decimal)

Attempts to convert a value to a Decimal.

TryConvertToDouble(Object, CultureInfo, Double)

Attempts to convert a value to a Double.

TryConvertToFloat(Object, CultureInfo, Single)

Attempts to convert a value to a Single.

TryConvertToInt(Object, CultureInfo, Int32)

Attempts to convert a value to a Int32.

TryConvertToLong(Object, CultureInfo, Int64)

Attempts to convert a value to a Int64.

TryConvertToNullableBool(Object, CultureInfo, Nullable<Boolean>)

Attempts to convert a value to a nullable Boolean.

TryConvertToNullableDateOnly(Object, CultureInfo, Nullable<DateOnly>)

Attempts to convert a value to a nullable DateOnly.

TryConvertToNullableDateOnly(Object, CultureInfo, String, Nullable<DateOnly>)

Attempts to convert a value to a nullable DateOnly.

TryConvertToNullableDateTime(Object, CultureInfo, Nullable<DateTime>)

Attempts to convert a value to a nullable DateTime.

TryConvertToNullableDateTime(Object, CultureInfo, String, Nullable<DateTime>)

Attempts to convert a value to a nullable DateTime.

TryConvertToNullableDateTimeOffset(Object, CultureInfo, Nullable<DateTimeOffset>)

Attempts to convert a value to a nullable DateTimeOffset.

TryConvertToNullableDateTimeOffset(Object, CultureInfo, String, Nullable<DateTimeOffset>)

Attempts to convert a value to a nullable DateTimeOffset.

TryConvertToNullableDecimal(Object, CultureInfo, Nullable<Decimal>)

Attempts to convert a value to a nullable Decimal.

TryConvertToNullableDouble(Object, CultureInfo, Nullable<Double>)

Attempts to convert a value to a nullable Double.

TryConvertToNullableFloat(Object, CultureInfo, Nullable<Single>)

Attempts to convert a value to a nullable Single.

TryConvertToNullableInt(Object, CultureInfo, Nullable<Int32>)

Attempts to convert a value to a nullable Int32.

TryConvertToNullableLong(Object, CultureInfo, Nullable<Int64>)

Attempts to convert a value to a nullable Int64.

TryConvertToNullableShort(Object, CultureInfo, Nullable<Int16>)

Attempts to convert a value to a nullable Int16.

TryConvertToNullableTimeOnly(Object, CultureInfo, Nullable<TimeOnly>)

Attempts to convert a value to a nullable TimeOnly.

TryConvertToNullableTimeOnly(Object, CultureInfo, String, Nullable<TimeOnly>)

Attempts to convert a value to a nullable TimeOnly.

TryConvertToShort(Object, CultureInfo, Int16)

Attempts to convert a value to a Int16.

TryConvertToString(Object, CultureInfo, String)

Attempts to convert a value to a String.

TryConvertToTimeOnly(Object, CultureInfo, String, TimeOnly)

Attempts to convert a value to a TimeOnly.

TryConvertToTimeOnly(Object, CultureInfo, TimeOnly)

Attempts to convert a value to a TimeOnly.

Applies to