public static void SetSelectionEnd(this ListBox suggestionList, int index) { if (suggestionList == null) { return; } ListBoxAttachedProperties.SetSelectioEndtIndex(suggestionList, index); }
public static int GetSelectionEnd(this ListBox suggestionList) { if (suggestionList == null) { return(-1); } return(ListBoxAttachedProperties.GetSelectionEndIndex(suggestionList)); }