1234567891011121314151617181920212223 |
- <UserControl xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
- x:Class="help.Views.Page1"
- xmlns:vm="using:help.ViewModels"
- x:DataType="vm:MainWindowViewModel">
-
- <StackPanel>
- <!--<TextBlock Text="{Binding Page1VM.Message}"></TextBlock>
- <Button Command="{Binding Page1VM.showMessage}">Показать сообщение</Button>
- <Button Command="{Binding toPage2}">Перейти на страницу 2</Button>-->
- <StackPanel Orientation="Horizontal">
- <TextBlock Classes="TextToTextBox">Наименование:</TextBlock>
- <TextBox Text="{Binding Page1VM.CurrentTrade.Title}" Watermark="Наименование торговой сети" Width="360"></TextBox>
- </StackPanel>
- <Button Classes="BtSave" Command="{Binding SaveNetwork}">
- <TextBlock Classes="TextBtSave">Добавить</TextBlock>
- </Button>
- </StackPanel>
- </UserControl>
|