Xceed.Wpf.Toolkit.CheckComboBox.UpdateText C# (CSharp) Method

UpdateText() private method

private UpdateText ( ) : void
return void
    private void UpdateText()
    {
#if VS2008
      string newValue = String.Join( Delimiter, SelectedItems.Cast<object>().Select( x => GetItemDisplayValue( x ).ToString() ).ToArray() ); 
#else
      string newValue = String.Join( Delimiter, SelectedItems.Cast<object>().Select( x => GetItemDisplayValue( x ) ) );
#endif

      if( String.IsNullOrEmpty( Text ) || !Text.Equals( newValue ) )
        Text = newValue;
    }