Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / SelectedValue Property


    SelectedValue Property (GridControl)
    Gets or sets the value of the member property specified by the ValueMember property.
    Syntax
    'Declaration
     
    <BrowsableAttribute(False)>
    <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
    Public Property SelectedValue As Object
     
    'Usage
     
    Dim instance As GridControl
    Dim value As Object
     
    instance.SelectedValue = value
     
    value = instance.SelectedValue

    Property Value

    An object containing the value of the member of the data source specified by the ValueMember property.
    Remarks

    If the ValueMember property is not set, SelectedValue returns a null reference (Nothing in Visual Basic).

    Requirements

    Target Platforms: 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