Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.Controls Assembly / Xceed.Wpf.Controls Namespace / ValueRangeTextBox Class / QueryValueFromTextCore Method
A string representing the text to be converted.
The converted value. Can be a null reference (Nothing in Visual Basic) if a value could not be extracted from text.


In This Topic
    QueryValueFromTextCore Method (ValueRangeTextBox)
    In This Topic
    Queries the specified text and returns its corresponding value converted to the type specified by the ValueDataType property and according to the format defined by the FormatProvider property.
    Syntax
    'Declaration
     
    Protected Overridable Function QueryValueFromTextCore( _
       ByVal text As String, _
       ByRef value As Object _
    ) As Boolean
    'Usage
     
    Dim instance As ValueRangeTextBox
    Dim text As String
    Dim value As Object
    Dim value As Boolean
     
    value = instance.QueryValueFromTextCore(text, value)
    protected virtual bool QueryValueFromTextCore( 
       string text,
       out object value
    )

    Parameters

    text
    A string representing the text to be converted.
    value
    The converted value. Can be a null reference (Nothing in Visual Basic) if a value could not be extracted from text.

    Return Value

    true if a value was extracted from the specified text; false otherwise.
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also