Skip to content
This repository was archived by the owner on May 1, 2024. It is now read-only.

Commit d2e6cbb

Browse files
[Core] Remove Expander (#12005)
* [Core] Remove Expander (moved to XTC) * [Tests] Remove Expander converter test * Update TypeConverterTests.xaml.cs * [Core] Remove Expander ExperimentalFlag * Update TypeConverterTests.xaml.cs Co-authored-by: Javier Suárez <[email protected]>
1 parent 4d24131 commit d2e6cbb

File tree

17 files changed

+1
-736
lines changed

17 files changed

+1
-736
lines changed

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Issue10830.cs

Lines changed: 0 additions & 108 deletions
This file was deleted.

Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issues.Shared/Xamarin.Forms.Controls.Issues.Shared.projitems

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,6 @@
14181418
<Compile Include="$(MSBuildThisFileDirectory)Issue7780.cs" />
14191419
<Compile Include="$(MSBuildThisFileDirectory)Issue8958.xaml.cs" />
14201420
<Compile Include="$(MSBuildThisFileDirectory)Issue10679.xaml.cs" />
1421-
<Compile Include="$(MSBuildThisFileDirectory)Issue10830.cs" />
14221421
<Compile Include="$(MSBuildThisFileDirectory)Issue10735.xaml.cs" />
14231422
<Compile Include="$(MSBuildThisFileDirectory)Issue10497.cs" />
14241423
<Compile Include="$(MSBuildThisFileDirectory)Issue10477.xaml.cs" />

Xamarin.Forms.Controls/CoreGallery.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
using Xamarin.Forms.Controls.GalleryPages.SwipeViewGalleries;
1717
using Xamarin.Forms.Controls.GalleryPages.PlatformTestsGallery;
1818
using Xamarin.Forms.Controls.GalleryPages.AppThemeGalleries;
19-
using Xamarin.Forms.Controls.GalleryPages.ExpanderGalleries;
2019
using Xamarin.Forms.Controls.GalleryPages.RadioButtonGalleries;
2120
using Xamarin.Forms.Controls.GalleryPages.ShapesGalleries;
2221
using Xamarin.Forms.Controls.GalleryPages.GradientGalleries;
@@ -306,7 +305,6 @@ public override string ToString()
306305
new GalleryPageFactory(() => new RadioButtonGalleries(), "RadioButton Gallery"),
307306
new GalleryPageFactory(() => new RadioButtonCoreGalleryPage(), "RadioButton Core Gallery"),
308307
new GalleryPageFactory(() => new FontImageSourceGallery(), "Font ImageSource"),
309-
new GalleryPageFactory(() => new ExpanderGalleries(), "Expander Gallery"),
310308
new GalleryPageFactory(() => new IndicatorGalleries(), "IndicatorView Gallery"),
311309
new GalleryPageFactory(() => new CarouselViewGallery(), "CarouselView Gallery"),
312310
new GalleryPageFactory(() => new CarouselViewCoreGalleryPage(), "CarouselView Core Gallery"),

Xamarin.Forms.Controls/GalleryPages/ExpanderGalleries/ExpanderGalleries.cs

Lines changed: 0 additions & 45 deletions
This file was deleted.

Xamarin.Forms.Controls/GalleryPages/ExpanderGalleries/ExpanderGallery.xaml

Lines changed: 0 additions & 41 deletions
This file was deleted.

Xamarin.Forms.Controls/GalleryPages/ExpanderGalleries/ExpanderGallery.xaml.cs

Lines changed: 0 additions & 91 deletions
This file was deleted.

Xamarin.Forms.Controls/GalleryPages/GradientGalleries/GradientViewsGallery.xaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,17 +128,6 @@
128128
<Entry
129129
x:Name="Entry"
130130
Text="Entry"/>
131-
<Expander
132-
x:Name="Expander">
133-
<Expander.Header>
134-
<Label
135-
Text="Expander Header" />
136-
</Expander.Header>
137-
<Grid>
138-
<Label
139-
Text="Expander Content" />
140-
</Grid>
141-
</Expander>
142131
<Frame
143132
x:Name="Frame"
144133
CornerRadius="12"

Xamarin.Forms.Controls/GalleryPages/GradientGalleries/GradientViewsGallery.xaml.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ void UpdateBackgroundColor(Color? color)
6161
DatePicker.BackgroundColor = backgroundColor;
6262
Editor.BackgroundColor = backgroundColor;
6363
Entry.BackgroundColor = backgroundColor;
64-
Expander.BackgroundColor = backgroundColor;
6564
Frame.BackgroundColor = backgroundColor;
6665
Grid.BackgroundColor = backgroundColor;
6766
ImageButton.BackgroundColor = backgroundColor;
@@ -89,7 +88,6 @@ void UpdateBackground(Brush background)
8988
DatePicker.Background = background;
9089
Editor.Background = background;
9190
Entry.Background = background;
92-
Expander.Background = background;
9391
Frame.Background = background;
9492
Grid.Background = background;
9593
ImageButton.Background = background;

Xamarin.Forms.Controls/GalleryPages/GradientGalleries/GradientsGallery.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void ButtonClicked(object sender, System.EventArgs e)
9393
button.TextColor = Color.Black;
9494
button.IsEnabled = false;
9595

96-
Device.SetFlags(new[] { ExperimentalFlags.BrushExperimental, ExperimentalFlags.ExpanderExperimental, ExperimentalFlags.ShapesExperimental, ExperimentalFlags.SwipeViewExperimental });
96+
Device.SetFlags(new[] { ExperimentalFlags.BrushExperimental, ExperimentalFlags.ShapesExperimental, ExperimentalFlags.SwipeViewExperimental });
9797
}
9898
}
9999
}

Xamarin.Forms.Core.UITests.Shared/Tests/ExpanderViewUITests.cs

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)