add screenshot

This commit is contained in:
NaBian committed 2019-05-06 00:47:36 +08:00
1 parent e558669183
commit d7d30fdbc7
5 files changed
+19 -13

No files matched your search

+6
View File
@@ -46,6 +46,12 @@ Step 2:Add code in App.xaml as follows:
``` ```
Step 3:enjoy coding Step 3:enjoy coding
## Overview
![Overview](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Overview.png)
![Overview-dark](https://raw.githubusercontent.com/NaBian/HandyControl/master/Resources/Overview-dark.png)
## Latest examples ## Latest examples
### SideMenu ### SideMenu
Binary file not shown.

After

Width:  |  Height:  |  Size: 346 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

@@ -361,7 +361,7 @@
<controls:Tag ShowCloseButton="False" Content="TextText"/> <controls:Tag ShowCloseButton="False" Content="TextText"/>
</controls:TagPanel> </controls:TagPanel>
</Border> </Border>
<Border Visibility="Collapsed" Width="14" Height="14" Background="Black" Canvas.Left="290" Canvas.Top="1040"/> <!--<Border Visibility="Collapsed" Width="14" Height="14" Background="Black" Canvas.Left="290" Canvas.Top="1040"/>-->
</Canvas> </Canvas>
</ScrollViewer> </ScrollViewer>
</UserControl> </UserControl>
@@ -48,10 +48,10 @@ namespace HandyControl.Controls
public override void OnApplyTemplate() public override void OnApplyTemplate()
{ {
//if (DesignerProperties.GetIsInDesignMode(this)) return; if (DesignerProperties.GetIsInDesignMode(this)) return;
//if (IsTransitioning) if (IsTransitioning)
// AbortTransition(); AbortTransition();
base.OnApplyTemplate(); base.OnApplyTemplate();
@@ -63,17 +63,17 @@ namespace HandyControl.Controls
if (CurrentContentPresentationSite != null) if (CurrentContentPresentationSite != null)
CurrentContentPresentationSite.Content = Content; CurrentContentPresentationSite.Content = Content;
//var transition = GetStoryboard(Transition); var transition = GetStoryboard(Transition);
//CurrentTransition = transition; CurrentTransition = transition;
//if (transition == null) if (transition == null)
//{ {
// Transition = DefaultTransitionState; Transition = DefaultTransitionState;
// throw new ArgumentException("TransitioningContentControl_TransitionNotFound"); throw new ArgumentException("TransitioningContentControl_TransitionNotFound");
//} }
//VisualStateManager.GoToState(this, NormalState, false); VisualStateManager.GoToState(this, NormalState, false);
//VisualStateManager.GoToState(this, Transition, true); VisualStateManager.GoToState(this, Transition, true);
} }
protected override void OnContentChanged(object oldContent, object newContent) protected override void OnContentChanged(object oldContent, object newContent)