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


In This Topic
    IsSynchronizedWithCurrentItem Property (GcListBox)
    In This Topic
    Gets or sets a value that indicates whether the GcListBox should keep the SelectedItem synchronized with the current item in the System.Windows.Controls.ItemsControl.Items property. This is a dependency property.
    Syntax
    'Declaration
     
    <TypeConverterAttribute(_jl)>
    Public Property IsSynchronizedWithCurrentItem As Nullable(Of Boolean)
    'Usage
     
    Dim instance As GcListBox
    Dim value As Nullable(Of Boolean)
     
    instance.IsSynchronizedWithCurrentItem = value
     
    value = instance.IsSynchronizedWithCurrentItem
    [TypeConverter(_jl)]
    public Nullable<bool> IsSynchronizedWithCurrentItem {get; set;}

    Property Value

    true if the SelectedItem is always synchronized with the current item; false if the SelectedItem is never synchronized with the current item; a null reference (Nothing in Visual Basic) if the SelectedItem is synchronized with the current item only if the GcListBox uses a System.ComponentModel.ICollectionView. The default is a null reference (Nothing in Visual Basic).
    See Also