File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change 25
25
</ResourceDictionary >
26
26
</UserControl .Resources>
27
27
28
- <UserControl .Transitions>
29
- <TransitionCollection >
30
- <PaneThemeTransition x : Name =" PreviewPaneTransition" Edge =" {x:Bind EdgeTransitionLocation, Mode=OneWay}" />
31
- </TransitionCollection >
32
- </UserControl .Transitions>
33
-
34
28
<Grid
35
29
x : Name =" RootGrid"
36
30
HorizontalAlignment =" Stretch"
37
- Background =" {ThemeResource PreviewPaneBackgroundBrush}" >
31
+ Background =" {ThemeResource PreviewPaneBackgroundBrush}"
32
+ BorderBrush =" {ThemeResource ControlStrokeColorDefault}"
33
+ BorderThickness =" 0,0,0,1" >
38
34
<Grid .RowDefinitions>
39
35
<RowDefinition Height =" 2*" MinHeight =" 100" />
40
36
<RowDefinition
Original file line number Diff line number Diff line change @@ -45,22 +45,9 @@ public bool IsHorizontal
45
45
set
46
46
{
47
47
SetValue ( IsHorizontalProperty , value ) ;
48
- EdgeTransitionLocation = value ? EdgeTransitionLocation . Bottom : EdgeTransitionLocation . Right ;
49
48
}
50
49
}
51
50
52
- public static DependencyProperty EdgeTransitionLocationProperty =
53
- DependencyProperty . Register ( "EdgeTransitionLocation" ,
54
- typeof ( EdgeTransitionLocation ) ,
55
- typeof ( PreviewPane ) ,
56
- new PropertyMetadata ( null ) ) ;
57
-
58
- private EdgeTransitionLocation EdgeTransitionLocation
59
- {
60
- get => ( EdgeTransitionLocation ) GetValue ( EdgeTransitionLocationProperty ) ;
61
- set => SetValue ( EdgeTransitionLocationProperty , value ) ;
62
- }
63
-
64
51
private string GetLocalizedText ( string resName ) => resName . GetLocalized ( ) ;
65
52
66
53
private void UserControl_Unloaded ( object sender , RoutedEventArgs e )
You can’t perform that action at this time.
0 commit comments