maui-linux/Xamarin.Forms.Core
Morten Nielsen 294e99eef8 Add implicit color conversion to .NET Standard's System.Drawing.Color (#1359)
* Add implicit color conversion to .NET Standard's System.Drawing.Color

This change simplifies working with colors in a .NET Standard way by adding implicit conversion between the two color types:
```
Xamarin.Forms.Color c1 = Xamarin.Forms.Color.FromRgba(1, 1, 1, 1);
System.Drawing.Color c2 = c1;
Xamarin.Forms.Color c3 = c2;
if (c2 == c1)
{
   // Colors are equal
}
```

* Fixed order of color components

* Added Implicit Color conversion unit tests (this includes referencing System.Drawing to access the System.Drawing.Color type)

* Added conversion between Xamarin.Forms.Color.Default System.Drawing.Color.Empty
2017-12-21 10:02:54 +01:00
..
Cells
Interactivity
Internals
PlatformConfiguration
Properties Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
StyleSheets Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
Xaml Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
AbsoluteLayout.cs
AbsoluteLayoutFlags.cs
Accelerator.cs
AcceleratorTypeConverter.cs
ActionSheetArguments.cs
ActivityIndicator.cs
AlertArguments.cs
AnimatableKey.cs
Animation.cs
AnimationExtensions.cs
AppLinkEntry.cs
Application.cs
Aspect.cs
AutomationProperties.cs
BackButtonPressedEventArgs.cs
BaseMenuItem.cs
BindableObject.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
BindableObjectExtensions.cs
BindableProperty.cs
BindablePropertyConverter.cs
BindablePropertyKey.cs
Binding.cs
BindingBase.cs
BindingBaseExtensions.cs
BindingExpression.cs
BindingMode.cs
BindingTypeConverter.cs
BorderElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
BoundsConstraint.cs
BoundsTypeConverter.cs
BoxView.cs
Button.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
CarouselPage.cs
CastingEnumerator.cs
ChatKeyboard.cs
ChildCollectionChangedEventArgs.cs
ClickGestureRecognizer.cs
ClickedEventArgs.cs
CollectionSynchronizationCallback.cs
CollectionSynchronizationContext.cs
Color.cs Add implicit color conversion to .NET Standard's System.Drawing.Color (#1359) 2017-12-21 10:02:54 +01:00
ColorTypeConverter.cs
ColumnDefinition.cs
ColumnDefinitionCollection.cs
Command.cs
CompressedLayout.cs
Configuration.cs
Constraint.cs
ConstraintExpression.cs
ConstraintType.cs
ConstraintTypeConverter.cs
ContentPage.cs
ContentPresenter.cs
ContentPropertyAttribute.cs
ContentView.cs
ControlTemplate.cs
CustomKeyboard.cs
DataTemplate.cs
DataTemplateExtensions.cs
DataTemplateSelector.cs
DateChangedEventArgs.cs
DatePicker.cs [All] Implement IFontElement on Picker, DatePicker, and TimePicker (#662) 2017-12-12 14:02:21 +00:00
DefinitionCollection.cs
DelegateLogListener.cs
DependencyAttribute.cs
DependencyFetchTarget.cs
DependencyService.cs
Device.cs
DeviceInfo.cs
DeviceOrientation.cs
DeviceOrientationExtensions.cs
Easing.cs
Editor.cs
Effect.cs
EffectiveFlowDirection.cs
EffectiveFlowDirectionExtensions.cs
Element.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
ElementCollection.cs
ElementEventArgs.cs
ElementTemplate.cs
Element_StyleSheets.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
EmailKeyboard.cs
Entry.cs
EnumerableExtensions.cs
EventArg.cs
ExportEffectAttribute.cs
ExpressionSearch.cs
FileImageSource.cs
FileImageSourceConverter.cs
FlowDirection.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
FocusEventArgs.cs
Font.cs
FontAttributes.cs
FontElement.cs
FontSizeConverter.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
FontTypeConverter.cs
FormattedString.cs
Frame.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
GestureRecognizer.cs
GestureState.cs
GestureStatus.cs
Grid.cs
GridCalc.cs
GridLength.cs
GridLengthTypeConverter.cs
GridUnitType.cs
HandlerAttribute.cs
HtmlWebViewSource.cs
IAnimatable.cs
IAppIndexingProvider.cs
IAppLinkEntry.cs
IAppLinks.cs
IApplicationController.cs
IBorderElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
IButtonController.cs
IConfigElement.cs
IConfigPlatform.cs
IControlTemplated.cs
IConverterOptions.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
IDefinition.cs
IDeserializer.cs
IEditorController.cs
IEffectControlProvider.cs
IElement.cs
IElementConfiguration.cs
IElementController.cs
IEntryController.cs
IExpressionSearch.cs
IExtendedTypeConverter.cs
IFlowDirectionController.cs
IFontElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
IGestureRecognizer.cs
IGridController.cs
IImageController.cs
IIsolatedStorageFile.cs
IItemViewController.cs
IItemsView.cs
ILayout.cs
ILayoutController.cs
IListProxy.cs
IListViewController.cs
IMarkupExtension.cs
IMasterDetailPageController.cs
IMenuItemController.cs
IMultiPageController.cs
INativeBindingService.cs
INativeValueConverterService.cs
INavigation.cs
INavigationMenuController.cs
INavigationPageController.cs
IOpenGlViewController.cs
IPaddingElement.cs
IPageContainer.cs
IPageController.cs
IPanGestureController.cs
IPinchGestureController.cs
IPlatform.cs
IPlatformElementConfiguration.cs
IPlatformServices.cs
IProvideParentValues.cs
IProvideValueTarget.cs
IRegisterable.cs
IResourceDictionary.cs
IResourcesProvider.cs
IRootObjectProvider.cs
IScrollViewController.cs
ISearchBarController.cs
IStreamImageSource.cs
IStyle.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
ISystemResourcesProvider.cs
ITableModel.cs
ITableViewController.cs
ITemplatedItemsList.cs
ITemplatedItemsListScrollToRequestedEventArgs.cs
ITemplatedItemsView.cs
ITextAlignmentElement.cs
ITextElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
IValueConverter.cs
IValueConverterProvider.cs
IValueProvider.cs
IViewContainer.cs
IViewController.cs
IVisualElementController.cs
IWebViewController.cs
IWebViewDelegate.cs
IXamlTypeResolver.cs
IXmlLineInfoProvider.cs
Image.cs
ImageSource.cs
ImageSourceConverter.cs
InputView.cs
InvalidNavigationException.cs
InvalidationEventArgs.cs
ItemTappedEventArgs.cs
ItemVisibilityEventArgs.cs
ItemsView.cs
Keyboard.cs
KeyboardFlags.cs
KeyboardTypeConverter.cs
Label.cs
Layout.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
LayoutAlignment.cs
LayoutAlignmentExtensions.cs
LayoutConstraint.cs
LayoutExpandFlag.cs
LayoutOptions.cs
LayoutOptionsConverter.cs
LineBreakMode.cs
ListProxy.cs
ListStringTypeConverter.cs
ListView.cs
ListViewCachingStrategy.cs
LockableObservableListWrapper.cs
LockingSemaphore.cs
Log.cs
LogListener.cs
MasterBehavior.cs
MasterDetailPage.cs
MeasureFlags.cs
Menu.cs
MenuItem.cs
MergedStyle.cs
MessagingCenter.cs
ModalEventArgs.cs
ModalPoppedEventArgs.cs
ModalPoppingEventArgs.cs
ModalPushedEventArgs.cs
ModalPushingEventArgs.cs
MultiPage.cs
NameScopeExtensions.cs
NamedSize.cs
NativeBindingHelpers.cs
NavigationEventArgs.cs
NavigationMenu.cs
NavigationModel.cs
NavigationPage.cs
NavigationProxy.cs
NullEffect.cs
NumericExtensions.cs
NumericKeyboard.cs
ObservableList.cs
ObservableWrapper.cs
OnIdiom.cs
OnPlatform.cs
OpenGLView.cs
OrderedDictionary.cs
PaddingElement.cs
Page.cs
PanGestureRecognizer.cs
PanUpdatedEventArgs.cs
ParameterAttribute.cs
Performance.cs
Picker.cs [All] Implement IFontElement on Picker, DatePicker, and TimePicker (#662) 2017-12-12 14:02:21 +00:00
PinchGestureRecognizer.cs
PinchGestureUpdatedEventArgs.cs
PlatformConfigurationRegistry.cs
PlatformEffect.cs
Point.cs
PointTypeConverter.cs
PoppedToRootEventArgs.cs
ProgressBar.cs
PropertyChangingEventArgs.cs
PropertyChangingEventHandler.cs
ProvideCompiledAttribute.cs
ReadOnlyCastingList.cs
ReadOnlyListAdapter.cs
Rectangle.cs
RectangleTypeConverter.cs
ReferenceTypeConverter.cs
ReflectionExtensions.cs
Registrar.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
RelativeLayout.cs
RenderWithAttribute.cs
ResolutionGroupNameAttribute.cs
ResourceDictionary.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
ResourcesChangedEventArgs.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
ResourcesExtensions.cs
RoutingEffect.cs
RowDefinition.cs
RowDefinitionCollection.cs
ScrollOrientation.cs
ScrollToMode.cs
ScrollToPosition.cs
ScrollToRequestedEventArgs.cs
ScrollView.cs
ScrolledEventArgs.cs
SearchBar.cs
SelectedItemChangedEventArgs.cs
SelectedPositionChangedEventArgs.cs
SeparatorMenuItem.cs
SeparatorVisibility.cs
Setter.cs
SettersExtensions.cs
Size.cs
SizeRequest.cs
Slider.cs
Span.cs
StackLayout.cs
StackOrientation.cs
Stepper.cs
StreamImageSource.cs
StreamWrapper.cs
Style.cs
Switch.cs
SynchronizedList.cs
TabbedPage.cs
TableIntent.cs
TableModel.cs
TableRoot.cs
TableSection.cs
TableSectionBase.cs
TableView.cs
TapGestureRecognizer.cs
TappedEventArgs.cs
TargetIdiom.cs
TargetPlatform.cs
TelephoneKeyboard.cs
TemplateBinding.cs
TemplateExtensions.cs
TemplateUtilities.cs
TemplatedItemsList.cs
TemplatedPage.cs
TemplatedView.cs
TextAlignment.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
TextAlignmentElement.cs
TextChangedEventArgs.cs
TextElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
TextKeyboard.cs
Thickness.cs
ThicknessTypeConverter.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
TimePicker.cs [All] Implement IFontElement on Picker, DatePicker, and TimePicker (#662) 2017-12-12 14:02:21 +00:00
ToggledEventArgs.cs
ToolbarItem.cs
ToolbarItemEventArgs.cs
ToolbarItemOrder.cs
TrackableCollection.cs
Tweener.cs
TypeConversionAttribute.cs
TypeConverter.cs
TypeConverterAttribute.cs
TypeTypeConverter.cs
TypedBinding.cs
UnsolvableConstraintsException.cs
UriImageSource.cs
UriTypeConverter.cs
UrlKeyboard.cs
UrlWebViewSource.cs
ValueChangedEventArgs.cs
Vec2.cs
View.cs
ViewExtensions.cs
ViewState.cs
VisualElement.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
VisualElement_StyleSheet.cs Stylesheets (#1207) 2017-12-20 10:47:50 +01:00
WeakEventManager.cs
WeakReferenceExtensions.cs
WebNavigatedEventArgs.cs
WebNavigatingEventArgs.cs
WebNavigationEvent.cs
WebNavigationEventArgs.cs
WebNavigationResult.cs
WebView.cs
WebViewSource.cs
WebViewSourceTypeConverter.cs
Xamarin.Forms.Core.csproj
Xamarin.Forms.Core.nuspec
XamlParseException.cs
XmlLineInfo.cs
XmlnsDefinitionAttribute.cs