Spread WPF 18
GrapeCity.Wpf.SpreadSheet.CellType.Editors Namespace / GcListBox Class / SelectedValuePath Property
Example


In This Topic
    SelectedValuePath Property (GcListBox)
    In This Topic
    Gets or sets the property path that is used to get the SelectedValue property of the SelectedItem property. This is a dependency property.
    Syntax
    'Declaration
     
    <BindableAttribute(True)>
    <LocalizabilityAttribute(LocalizationCategory.NeverLocalize)>
    Public Property SelectedValuePath As String
    'Usage
     
    Dim instance As GcListBox
    Dim value As String
     
    instance.SelectedValuePath = value
     
    value = instance.SelectedValuePath
    [Bindable(true)]
    [Localizability(LocalizationCategory.NeverLocalize)]
    public string SelectedValuePath {get; set;}

    Property Value

    The property path that is used to get the SelectedValue property of the SelectedItem property. The default is System.String.Empty.
    Example
    The following code example demonstrates how to use SelectedValue and SelectedValuePath property.
    See Also