예제 #1
0
        private bool CanAddState()
        {
            var selectStateBlank = StateCollection.GetItemAt(0);

            if (SelectedState.Value == null || selectStateBlank == null || SelectedState.Value.Equals(selectStateBlank))
            {
                return(false);
            }
            return(true);
        }