Advertisement
Guest User

MainView

a guest
Oct 25th, 2015
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.04 KB | None | 0 0
  1. <App Theme="Basic">
  2.  
  3. <DockPanel>
  4.  
  5.             <WhileTrue ux:Name="whileTrue">
  6.                 <Panel Width="100%" Height="100%" Background="#0000ff">
  7.                     <AddingAnimation>
  8.                         <Move RelativeTo="ParentSize" X="1" Duration="0.25"/>
  9.                         </AddingAnimation>
  10.                     <RemovingAnimation>
  11.                         <Move RelativeTo="ParentSize" X="1" Duration="0.25"/>
  12.                     </RemovingAnimation>
  13.                     <Button Text="Back" Width="100" Height="20" Alignment="TopLeft" ux:Name="button">
  14.                     <Clicked>
  15.                         <Set whileTrue.Value="false"/>
  16.                     </Clicked>
  17.                     <WhilePressed>
  18.                         <Change button.Opacity="0.5"/>
  19.                     </WhilePressed>
  20.                     </Button>
  21.                 </Panel>
  22.             </WhileTrue>
  23.  
  24.  
  25.  
  26. <Button Height="40" Width="50%" Text="Show panel">
  27. <Clicked>
  28.     <Set whileTrue.Value="true"/>
  29. </Clicked>
  30. </Button>
  31.  
  32. </DockPanel>
  33.  
  34. </App>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement