<ItemGroup>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)Issue6693.xaml">
<SubType>Designer</SubType>
- <Generator>MSBuild:Compile</Generator>
+ <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
</ItemGroup>
</Project>
PropertyChangedEventHandler _onPropertyChangedEventHandler;
readonly UIColor _defaultCellBgColor = Forms.IsiOS13OrNewer ? UIColor.Clear : UIColor.White;
+ [Preserve(Conditional = true)]
+ public CellRenderer()
+ {
+ }
+
public virtual UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
{
Performance.Start(out string reference);
using System;
using System.ComponentModel;
+using Foundation;
using UIKit;
using RectangleF = CoreGraphics.CGRect;
{
static readonly Color DefaultTextColor = Color.Black;
+ [Preserve(Conditional = true)]
+ public EntryCellRenderer()
+ {
+ }
+
public override UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
{
var entryCell = (EntryCell)item;
{
public class ImageCellRenderer : TextCellRenderer
{
+ [Preserve(Conditional = true)]
+ public ImageCellRenderer()
+ {
+ }
+
public override UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
{
var result = (CellTableViewCell)base.GetCell(item, reusableCell, tv);
using System;
using System.ComponentModel;
using System.Drawing;
+using Foundation;
using UIKit;
namespace Xamarin.Forms.Platform.iOS
UIColor _defaultOnColor;
+ [Preserve(Conditional = true)]
+ public SwitchCellRenderer()
+ {
+ }
+
public override UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
{
var tvc = reusableCell as CellTableViewCell;
using System.ComponentModel;
+using Foundation;
using UIKit;
namespace Xamarin.Forms.Platform.iOS
static readonly Color DefaultDetailColor = new Color(.32, .4, .57);
static readonly Color DefaultTextColor = Color.Black;
+ [Preserve(Conditional = true)]
+ public TextCellRenderer()
+ {
+ }
+
public override UITableViewCell GetCell(Cell item, UITableViewCell reusableCell, UITableView tv)
{
var textCell = (TextCell)item;
{
public class ViewCellRenderer : CellRenderer
{
+ [Preserve(Conditional = true)]
public ViewCellRenderer()
{
}
public sealed class FileImageSourceHandler : IImageSourceHandler, IAnimationSourceHandler
{
+ [Preserve(Conditional = true)]
+ public FileImageSourceHandler()
+ {
+ }
+
public Task<UIImage> LoadImageAsync(ImageSource imagesource, CancellationToken cancelationToken = default(CancellationToken), float scale = 1f)
{
UIImage image = null;
public sealed class StreamImagesourceHandler : IImageSourceHandler, IAnimationSourceHandler
{
+ [Preserve(Conditional = true)]
+ public StreamImagesourceHandler()
+ {
+ }
+
public async Task<UIImage> LoadImageAsync(ImageSource imagesource, CancellationToken cancelationToken = default(CancellationToken), float scale = 1f)
{
UIImage image = null;
public sealed class ImageLoaderSourceHandler : IImageSourceHandler, IAnimationSourceHandler
{
+ [Preserve(Conditional = true)]
+ public ImageLoaderSourceHandler()
+ {
+ }
+
public async Task<UIImage> LoadImageAsync(ImageSource imagesource, CancellationToken cancelationToken = default(CancellationToken), float scale = 1f)
{
UIImage image = null;
//should this be the default color on the BP for iOS?
readonly Color _defaultColor = Color.White;
+ [Preserve(Conditional = true)]
+ public FontImageSourceHandler()
+ {
+ }
+
public Task<UIImage> LoadImageAsync(
ImageSource imagesource,
CancellationToken cancelationToken = default(CancellationToken),
namespace Xamarin.Forms.Platform.MacOS
#endif
{
+ [Preserve(AllMembers = true)]
internal class ResourcesProvider : ISystemResourcesProvider
{
ResourceDictionary _dictionary;