View | Details | Raw Unified | Return to bug 478615
Collapse All | Expand All

(-)ColorDialog.cs (-1 / +21 lines)
Lines 903-908 Link Here
903
						isSelected = value;
903
						isSelected = value;
904
						Invalidate ();
904
						Invalidate ();
905
					}
905
					}
906
907
					get {
908
						return isSelected;
909
					}
906
				}
910
				}
907
				
911
				
908
				public Color InternalColor {
912
				public Color InternalColor {
Lines 962-968 Link Here
962
			private Label baseColorLabel;
966
			private Label baseColorLabel;
963
			
967
			
964
			private SmallColorControl selectedSmallColorControl;
968
			private SmallColorControl selectedSmallColorControl;
965
			
969
970
			#region UIA Framework Property
971
#if NET_2_0
972
			public SmallColorControl UIASelectedSmallColorControl {
973
				get {
974
					for (int i = 0; i < smallColorControl.Length - 1; ++i)
975
						if (smallColorControl [i].IsSelected)
976
							return smallColorControl [i];
977
					for (int j = 0; j < userSmallColorControl.Length - 1; ++j)
978
						if (userSmallColorControl [j].IsSelected)
979
							return userSmallColorControl [j];
980
					return null;
981
				}
982
			}
983
#endif
984
			#endregion
985
966
			private int currentlyUsedUserSmallColorControl = 0;
986
			private int currentlyUsedUserSmallColorControl = 0;
967
			
987
			
968
			private ColorDialog colorDialog = null;
988
			private ColorDialog colorDialog = null;

Return to bug 478615