EmbeddingPage.axaml 975 B

12345678910111213141516171819
  1. <UserControl xmlns="https://github.com/avaloniaui"
  2. xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  3. xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
  4. xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
  5. xmlns:embedding="using:IntegrationTestApp.Embedding"
  6. mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
  7. x:Class="IntegrationTestApp.EmbeddingPage">
  8. <StackPanel>
  9. <embedding:NativeTextBox Name="NativeTextBox" Height="23"/>
  10. <StackPanel Orientation="Horizontal">
  11. <CheckBox Name="EmbeddingPopupOpenCheckBox">Open Popup</CheckBox>
  12. <Popup IsOpen="{Binding #EmbeddingPopupOpenCheckBox.IsChecked}"
  13. PlacementTarget="EmbeddingPopupOpenCheckBox"
  14. Placement="Right">
  15. <embedding:NativeTextBox Name="NativeTextBoxInPopup" Width="200" Height="23"/>
  16. </Popup>
  17. </StackPanel>
  18. </StackPanel>
  19. </UserControl>