add screenshot
This commit is contained in:
1 parent
e558669183
commit
d7d30fdbc7
5 files changed
+19
-13
No files matched your search
@@ -46,6 +46,12 @@ Step 2:Add code in App.xaml as follows:
|
||||
```
|
||||
Step 3:enjoy coding
|
||||
|
||||
## Overview
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
## Latest examples
|
||||
|
||||
### 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:TagPanel>
|
||||
</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>
|
||||
</ScrollViewer>
|
||||
</UserControl>
|
||||
@@ -48,10 +48,10 @@ namespace HandyControl.Controls
|
||||
|
||||
public override void OnApplyTemplate()
|
||||
{
|
||||
//if (DesignerProperties.GetIsInDesignMode(this)) return;
|
||||
if (DesignerProperties.GetIsInDesignMode(this)) return;
|
||||
|
||||
//if (IsTransitioning)
|
||||
// AbortTransition();
|
||||
if (IsTransitioning)
|
||||
AbortTransition();
|
||||
|
||||
base.OnApplyTemplate();
|
||||
|
||||
@@ -63,17 +63,17 @@ namespace HandyControl.Controls
|
||||
if (CurrentContentPresentationSite != null)
|
||||
CurrentContentPresentationSite.Content = Content;
|
||||
|
||||
//var transition = GetStoryboard(Transition);
|
||||
//CurrentTransition = transition;
|
||||
//if (transition == null)
|
||||
//{
|
||||
// Transition = DefaultTransitionState;
|
||||
var transition = GetStoryboard(Transition);
|
||||
CurrentTransition = transition;
|
||||
if (transition == null)
|
||||
{
|
||||
Transition = DefaultTransitionState;
|
||||
|
||||
// throw new ArgumentException("TransitioningContentControl_TransitionNotFound");
|
||||
//}
|
||||
throw new ArgumentException("TransitioningContentControl_TransitionNotFound");
|
||||
}
|
||||
|
||||
//VisualStateManager.GoToState(this, NormalState, false);
|
||||
//VisualStateManager.GoToState(this, Transition, true);
|
||||
VisualStateManager.GoToState(this, NormalState, false);
|
||||
VisualStateManager.GoToState(this, Transition, true);
|
||||
}
|
||||
|
||||
protected override void OnContentChanged(object oldContent, object newContent)
|
||||
|
||||
Reference in new issue
Block a user