public void SetAll(SnapPointState state)
 {
     SnapPointState[] stateArray = new SnapPointState[numOptions];
     for (int i = 0; i < numOptions; i++)
     {
         stateArray[i] = state;
     }
     this.OptionArray = stateArray;
 }
        private static SnapPointState[] BoolsToStates(bool[] shown, bool[] selected)
        {
            int length = shown.Length;

            SnapPointState[] stateArray = new SnapPointState[length];
            for (int i = 0; i < length; i++)
            {
                stateArray[i] = SnapPointState.Hidden;
                if (shown[i])
                {
                    stateArray[i] = SnapPointState.Shown;
                }
                if (selected[i])
                {
                    stateArray[i] = SnapPointState.Selected;
                }
            }
            return(stateArray);
        }
 public void SetAllSnapPointStates(SnapPointState state)
 {
     this.SetAll(state);
 }