summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared')
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml34
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml.cs75
-rw-r--r--Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems6
3 files changed, 0 insertions, 115 deletions
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml
deleted file mode 100644
index 16f3945d..00000000
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<local:BaseView
- xmlns="http://xamarin.com/schemas/2014/forms"
- xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
- x:Class="Xamarin.Forms.Controls.Issue1549"
- xmlns:local="clr-namespace:Xamarin.Forms.Controls;assembly=Xamarin.Forms.Controls"
- Padding="0,40,0,0">
- <local:BaseView.Resources>
- <ResourceDictionary>
- <local:InvertBoolenConverter x:Key="cnvInvert"></local:InvertBoolenConverter>
- </ResourceDictionary>
- </local:BaseView.Resources>
- <local:BaseView.Content>
- <ListView x:Name="lst" VerticalOptions="FillAndExpand"
- HorizontalOptions="FillAndExpand"
-
- ItemsSource="{Binding Items}"
-
- >
- <ListView.ItemTemplate >
- <DataTemplate>
- <ViewCell >
- <ViewCell.View>
- <Grid VerticalOptions="FillAndExpand" HorizontalOptions="FillAndExpand" >
- <Label IsVisible="{Binding IsLocked}" Text="Show Is Locked" />
- <Label IsVisible="{Binding IsLocked, Converter={StaticResource cnvInvert}}" Text="Show Is Not locked" />
- </Grid>
- </ViewCell.View>
- </ViewCell>
- </DataTemplate>
- </ListView.ItemTemplate>
- </ListView>
- </local:BaseView.Content>
-</local:BaseView> \ No newline at end of file
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml.cs b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml.cs
deleted file mode 100644
index 9c9ff5d0..00000000
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue1549.xaml.cs
+++ /dev/null
@@ -1,75 +0,0 @@
-using System;
-using System.Collections.Generic;
-using Xamarin.Forms;
-using System.Collections.ObjectModel;
-
-using Xamarin.Forms.CustomAttributes;
-using Xamarin.Forms.Internals;
-
-namespace Xamarin.Forms.Controls
-{
-#if APP
- public class BaseView : ContentPage
- {
- public BaseView()
- {
- }
- }
-
- [Preserve (AllMembers=true)]
- [Issue (IssueTracker.Github, 1549, "XAML converters not invoked", PlatformAffected.Android | PlatformAffected.iOS | PlatformAffected.WinPhone)]
- public partial class Issue1549 : BaseView
- {
- public Issue1549 ()
- {
- InitializeComponent ();
-
- Items = new ObservableCollection<Issue1549Item> ();
- Items.Add (new Issue1549Item () { IsLocked = true });
- Items.Add (new Issue1549Item () { IsLocked = true });
- Items.Add (new Issue1549Item () { IsLocked = true });
- Items.Add (new Issue1549Item () { IsLocked = true });
- lst.BindingContext = this;
- }
-
- public new ObservableCollection<Issue1549Item> Items {
- get;
- set;
- }
- }
-
- public class InvertBoolenConverter : IValueConverter
- {
-
- #region IValueConverter implementation
-
- public object Convert (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- if (value is bool) {
-
- return !(bool)value;
- }
- return value;
- }
-
- public object ConvertBack (object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
- {
- throw new NotImplementedException ();
- }
-
- #endregion
- }
-
-
- public class Issue1549Item
- {
-
- public bool IsLocked {
- get;
- set;
- }
-
- }
-#endif
-}
-
diff --git a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
index c857bbb9..eac49a1e 100644
--- a/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
+++ b/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems
@@ -178,9 +178,6 @@
<DependentUpon>Issue1545.xaml</DependentUpon>
</Compile>
<Compile Include="$(MSBuildThisFileDirectory)Issue1546.cs" />
- <Compile Include="$(MSBuildThisFileDirectory)Issue1549.xaml.cs">
- <DependentUpon>Issue1549.xaml</DependentUpon>
- </Compile>
<Compile Include="$(MSBuildThisFileDirectory)Issue1554.xaml.cs">
<DependentUpon>Issue1554.xaml</DependentUpon>
</Compile>
@@ -420,9 +417,6 @@
<EmbeddedResource Include="$(MSBuildThisFileDirectory)Issue1545.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>
- <EmbeddedResource Include="$(MSBuildThisFileDirectory)Issue1549.xaml">
- <Generator>MSBuild:UpdateDesignTimeXaml</Generator>
- </EmbeddedResource>
<EmbeddedResource Include="$(MSBuildThisFileDirectory)Issue1554.xaml">
<Generator>MSBuild:UpdateDesignTimeXaml</Generator>
</EmbeddedResource>