-
Notifications
You must be signed in to change notification settings - Fork 725
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Droid): Enabled TextBox.CharacterCasing
- Loading branch information
Showing
10 changed files
with
328 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
src/SamplesApp/UITests.Shared/Windows_UI_Xaml_Controls/TextBox/TextBox_CharacterCasing.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<UserControl | ||
x:Class="UITests.Shared.Windows_UI_Xaml_Controls.TextBoxTests.TextBox_CharacterCasing" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:local="using:UITests.Windows_UI_Xaml_Controls.TextBox" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
d:DesignHeight="300" | ||
d:DesignWidth="400" | ||
mc:Ignorable="d"> | ||
|
||
<StackPanel Padding="20" Spacing="20"> | ||
|
||
<TextBox Header="Default" | ||
x:Name="DefaultCasingTextBox" | ||
PlaceholderText="Default (any casing)"/> | ||
|
||
<TextBox Header="Lower" | ||
x:Name="LowerCasingTextBox" | ||
PlaceholderText="Only Lower Text" | ||
CharacterCasing="Lower" /> | ||
|
||
<TextBox Header="Upper" | ||
x:Name="UpperCasingTextBox" | ||
PlaceholderText="Only Upper Text" | ||
CharacterCasing="Upper"/> | ||
|
||
<TextBox Header="Normal" | ||
x:Name="NormalCasingTextBox" | ||
PlaceholderText="Normal (any casing)" | ||
CharacterCasing="Normal"/> | ||
</StackPanel> | ||
</UserControl> |
33 changes: 33 additions & 0 deletions
33
...amplesApp/UITests.Shared/Windows_UI_Xaml_Controls/TextBox/TextBox_CharacterCasing.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Linq; | ||
using System.Runtime.InteropServices.WindowsRuntime; | ||
using Uno.UI.Samples.Controls; | ||
using Windows.Foundation; | ||
using Windows.Foundation.Collections; | ||
using Windows.UI.Xaml; | ||
using Windows.UI.Xaml.Controls; | ||
using Windows.UI.Xaml.Controls.Primitives; | ||
using Windows.UI.Xaml.Data; | ||
using Windows.UI.Xaml.Input; | ||
using Windows.UI.Xaml.Media; | ||
using Windows.UI.Xaml.Navigation; | ||
|
||
// The Blank Page item template is documented at https://go.microsoft.com/fwlink/?LinkId=234238 | ||
|
||
namespace UITests.Shared.Windows_UI_Xaml_Controls.TextBoxTests | ||
{ | ||
/// <summary> | ||
/// An empty page that can be used on its own or navigated to within a Frame. | ||
/// </summary> | ||
/// | ||
[SampleControlInfo("TextBox", description: "TextBox_CharacterCasing")] | ||
public sealed partial class TextBox_CharacterCasing : UserControl | ||
{ | ||
public TextBox_CharacterCasing() | ||
{ | ||
this.InitializeComponent(); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.