Share via


AutoCompleteBox.FormatValue Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Converts the specified object to a string by using the property values of the binding object specified by the ValueMemberBinding property.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Input (in System.Windows.Controls.Input.dll)

Syntax

'Declaration
Protected Overridable Function FormatValue ( _
    value As Object _
) As String
protected virtual string FormatValue(
    Object value
)

Parameters

Return Value

Type: System.String
The string representation of the specified object.

Remarks

Override this method to provide a custom string conversion.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.