424863d5ff
* Added WatermarkForeground property * Added samples * Added unit tests * Added render tests * Fix merge issues * Updated render tests * Standardize watermark foreground naming * Pending changes * More changes * Use UseFloatingPlaceholder * Fix tests
16 lines
662 B
XML
16 lines
662 B
XML
<Window xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="Sample.App.xNamedControls">
|
|
<StackPanel>
|
|
<TextBox x:Name="UserNameTextBox"
|
|
Placeholder="Username input"
|
|
UseFloatingPlaceholder="True" />
|
|
<TextBox x:Name="PasswordTextBox"
|
|
Placeholder="Password input"
|
|
UseFloatingPlaceholder="True" />
|
|
<!-- Name generator should still generate members, even if XAML is invalid -->
|
|
<Button x:Name="SignUpButton"
|
|
Content="{x:Static NonExistent.Member}" />
|
|
</StackPanel>
|
|
</Window>
|