IFieldFormattingOptions Interface

IFieldFormattingOptions Interface

.NET Framework (current version)
 

Defines an interface for common formatting-option properties to be applied to field template user controls.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public interface IFieldFormattingOptions

NameDescription
System_CAPS_pubpropertyApplyFormatInEditMode

Gets a value that indicates whether the formatting string that is specified by the DataFormatString property is applied to field values when the field is in edit mode.

System_CAPS_pubpropertyConvertEmptyStringToNull

Gets a value that indicates whether empty string values ("") are automatically converted to null values when the data field is updated in the data source.

System_CAPS_pubpropertyDataFormatString

Gets a string that specifies the display format for the value of the field.

System_CAPS_pubpropertyHtmlEncode

Gets a value that indicates whether the data for the control is HTML-encoded before it is rendered.

System_CAPS_pubpropertyNullDisplayText

Gets the caption that is displayed for a field when the field value is null.

NameDescription
System_CAPS_pubmethodConvertEditedValue(String)

Returns the value provided by a user for a control that is being validated.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodFormatEditValue(Object)

Formats the specified field value by using the specified formatting options.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodFormatValue(Object)

Formats the specified field value by using the specified formatting options.(Defined by DynamicDataExtensions.)

.NET Framework
Available since 3.5
Return to top
Show:
© 2016 Microsoft