개정판 4fcb686a
issue #000 font가 적용 되지 않아 box size가 작게 출력되는 문제
Change-Id: Ie07531db96d56e8d5c2bbdbf0786d053ad39747c
KCOM/Resources/DragAndDropListBoxStyle.xaml | ||
---|---|---|
1 |
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
2 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
3 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
|
4 |
xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" |
|
5 |
xmlns:telerikDragDrop="clr-namespace:Telerik.Windows.DragDrop;assembly=Telerik.Windows.Controls" |
|
6 |
xmlns:dragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"> |
|
1 |
<ResourceDictionary |
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
5 |
xmlns:dragDrop="clr-namespace:Telerik.Windows.Controls.DragDrop;assembly=Telerik.Windows.Controls" |
|
6 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
7 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
|
8 |
xmlns:telerik1="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls" |
|
9 |
xmlns:telerikDragDrop="clr-namespace:Telerik.Windows.DragDrop;assembly=Telerik.Windows.Controls" |
|
10 |
mc:Ignorable="d"> |
|
7 | 11 |
<SolidColorBrush x:Key="DragVisualForeground" Color="Black" /> |
8 | 12 |
<SolidColorBrush x:Key="DragVisualBorder" Color="#19848484" /> |
9 |
<Style TargetType="{x:Type telerikDragDrop:DragVisual}" x:Key="CustomDragVisualStyle2">
|
|
10 |
<Setter Property="Foreground" Value="{StaticResource DragVisualForeground}"/> |
|
13 |
<Style x:Key="CustomDragVisualStyle2" TargetType="{x:Type telerikDragDrop:DragVisual}">
|
|
14 |
<Setter Property="Foreground" Value="{StaticResource DragVisualForeground}" />
|
|
11 | 15 |
<Setter Property="BorderBrush" Value="{StaticResource DragVisualBorder}" /> |
12 | 16 |
<Setter Property="Background" Value="#7AFFFF82" /> |
13 | 17 |
<Setter Property="BorderThickness" Value="0" /> |
14 | 18 |
<Setter Property="Margin" Value="0" /> |
15 |
<Setter Property="Padding" Value="0 0 0 0" />
|
|
19 |
<Setter Property="Padding" Value="0,0,0,0" />
|
|
16 | 20 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
17 | 21 |
<Setter Property="VerticalContentAlignment" Value="Center" /> |
18 | 22 |
<Setter Property="SnapsToDevicePixels" Value="True" /> |
19 | 23 |
</Style> |
20 | 24 |
<Style x:Key="CustomDragVisualStyle" TargetType="{x:Type telerikDragDrop:DragVisual}"> |
21 |
<Setter Property="Foreground" Value="{telerik1:VisualStudio2013Resource ResourceKey=MarkerBrush}"/> |
|
22 |
<Setter Property="Background" Value="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}"/> |
|
23 |
<Setter Property="BorderBrush" Value="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}"/> |
|
24 |
<Setter Property="BorderThickness" Value="0"/> |
|
25 |
<Setter Property="Margin" Value="0"/> |
|
26 |
<Setter Property="Padding" Value="0"/> |
|
27 |
<Setter Property="MinHeight" Value="10"/> |
|
28 |
<Setter Property="MinWidth" Value="10"/> |
|
29 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
|
30 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
|
31 |
<Setter Property="SnapsToDevicePixels" Value="True"/> |
|
25 |
<Setter Property="Foreground" Value="{telerik1:VisualStudio2013Resource ResourceKey=MarkerBrush}" />
|
|
26 |
<Setter Property="Background" Value="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}" />
|
|
27 |
<Setter Property="BorderBrush" Value="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}" />
|
|
28 |
<Setter Property="BorderThickness" Value="0" />
|
|
29 |
<Setter Property="Margin" Value="0" />
|
|
30 |
<Setter Property="Padding" Value="0" />
|
|
31 |
<Setter Property="MinHeight" Value="10" />
|
|
32 |
<Setter Property="MinWidth" Value="10" />
|
|
33 |
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
|
34 |
<Setter Property="VerticalContentAlignment" Value="Center" />
|
|
35 |
<Setter Property="SnapsToDevicePixels" Value="True" />
|
|
32 | 36 |
<Setter Property="Template"> |
33 | 37 |
<Setter.Value> |
34 | 38 |
<ControlTemplate TargetType="{x:Type telerikDragDrop:DragVisual}"> |
35 | 39 |
<Grid> |
40 |
<Border |
|
41 |
x:Name="SecondItemVisual" |
|
42 |
Background="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}" |
|
43 |
BorderBrush="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}" |
|
44 |
Visibility="{Binding IsDraggingMultipleItems, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource Mode=TemplatedParent}}" /> |
|
45 |
<!--<Border x:Name="ThirdthItemVisual" |
|
46 |
Visibility="{Binding IsDraggingMultipleItems, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource Mode=TemplatedParent}}" |
|
47 |
Margin="2 2 2 2" |
|
48 |
BorderThickness="1" |
|
49 |
BorderBrush="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}" |
|
50 |
Background="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}"/>--> |
|
51 |
<!--<Border x:Name="ThirdthItemVisual" |
|
52 |
Visibility="Collapsed" |
|
53 |
Margin="0"/> |
|
54 |
<Border x:Name="DragBackgroundVisual" |
|
55 |
Opacity="0.9" |
|
56 |
Margin="0" Background="#33E6E6E6" BorderBrush="#B2F5BCBC" BorderThickness="1" CornerRadius="2" Padding="0"/>--> |
|
57 |
<Border> |
|
58 |
<Grid> |
|
59 |
<Grid.ColumnDefinitions> |
|
60 |
<ColumnDefinition Width="*" /> |
|
61 |
</Grid.ColumnDefinitions> |
|
62 |
<Grid VerticalAlignment="Top"> |
|
63 |
<Path |
|
64 |
x:Name="NoneEffect" |
|
65 |
Width="20" |
|
66 |
Height="20" |
|
67 |
HorizontalAlignment="Left" |
|
68 |
VerticalAlignment="Top" |
|
69 |
Data="M2,8 L8,2 M9,5 C9,7.2 7.2,9 5,9 C2.7,9 1,7 1,5 C1,2.8 2.8,1 5,1 C7.2,1 9,2.8 9,5 z" |
|
70 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=ValidationBrush}" |
|
71 |
StrokeThickness="2" |
|
72 |
Visibility="Collapsed" /> |
|
73 |
<Path |
|
74 |
x:Name="MoveEffect" |
|
75 |
Width="20" |
|
76 |
Height="20" |
|
77 |
HorizontalAlignment="Left" |
|
78 |
VerticalAlignment="Top" |
|
79 |
Data="M0,5 L8,5 M4,1 L8,5 4,9" |
|
80 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}" |
|
81 |
StrokeThickness="2" |
|
82 |
Visibility="Collapsed" /> |
|
83 |
<Path |
|
84 |
x:Name="CopyEffect" |
|
85 |
Width="20" |
|
86 |
Height="20" |
|
87 |
Data="M5,1 L5,9 M1,5 L9,5" |
|
88 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}" |
|
89 |
StrokeThickness="2" |
|
90 |
Visibility="Collapsed" /> |
|
91 |
<Path |
|
92 |
x:Name="LinkEffect" |
|
93 |
Width="22" |
|
94 |
Height="12" |
|
95 |
Data="M8,0.5 C9.4,0.5 10.5,1.6 10.5,3 C10.5,4.4 9.4,5.5 8,5.5 C6.6,5.5 5.5,4.4 5.5,3 C5.5,1.6 6.6,0.5 8,0.5 z M3,0.5 C4.4,0.5 5.5,1.6 5.5,3 C5.5,4.4 4.4,5.5 3,5.5 C1.6,5.5 0.5,4.4 0.5,3 C0.5,1.6 1.6,0.5 3,0.5 z" |
|
96 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}" |
|
97 |
StrokeThickness="1" |
|
98 |
Visibility="Collapsed" /> |
|
99 |
<Path |
|
100 |
x:Name="ScrollEffect" |
|
101 |
Width="20" |
|
102 |
Height="24" |
|
103 |
Data="M0,5 L5,0 10,5Z M0,7 L5,12 10,7Z" |
|
104 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}" |
|
105 |
Visibility="Collapsed" /> |
|
106 |
</Grid> |
|
107 |
<ContentPresenter |
|
108 |
x:Name="Content" |
|
109 |
HorizontalAlignment="Center" |
|
110 |
VerticalAlignment="Center" |
|
111 |
Content="{TemplateBinding Content}" |
|
112 |
ContentTemplate="{TemplateBinding ContentTemplate}" /> |
|
113 |
</Grid> |
|
114 |
</Border> |
|
36 | 115 |
<VisualStateManager.VisualStateGroups> |
37 | 116 |
<VisualStateGroup x:Name="EffectStates"> |
38 | 117 |
<VisualState x:Name="None"> |
... | ... | |
92 | 171 |
</VisualState> |
93 | 172 |
</VisualStateGroup> |
94 | 173 |
</VisualStateManager.VisualStateGroups> |
95 |
<Border x:Name="SecondItemVisual" |
|
96 |
Visibility="{Binding IsDraggingMultipleItems, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource Mode=TemplatedParent}}" |
|
97 |
BorderBrush="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}" |
|
98 |
Background="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}"/> |
|
99 |
<!--<Border x:Name="ThirdthItemVisual" |
|
100 |
Visibility="{Binding IsDraggingMultipleItems, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource Mode=TemplatedParent}}" |
|
101 |
Margin="2 2 2 2" |
|
102 |
BorderThickness="1" |
|
103 |
BorderBrush="{telerik1:VisualStudio2013Resource ResourceKey=BasicBrush}" |
|
104 |
Background="{telerik1:VisualStudio2013Resource ResourceKey=PrimaryBrush}"/>--> |
|
105 |
<!--<Border x:Name="ThirdthItemVisual" |
|
106 |
Visibility="Collapsed" |
|
107 |
Margin="0"/> |
|
108 |
<Border x:Name="DragBackgroundVisual" |
|
109 |
Opacity="0.9" |
|
110 |
Margin="0" Background="#33E6E6E6" BorderBrush="#B2F5BCBC" BorderThickness="1" CornerRadius="2" Padding="0"/>--> |
|
111 |
<Border> |
|
112 |
<Grid> |
|
113 |
<Grid.ColumnDefinitions> |
|
114 |
<ColumnDefinition Width="*"/> |
|
115 |
</Grid.ColumnDefinitions> |
|
116 |
<Grid VerticalAlignment="Top"> |
|
117 |
<Path x:Name="NoneEffect" |
|
118 |
Visibility="Collapsed" |
|
119 |
Width="20" |
|
120 |
Height="20" |
|
121 |
HorizontalAlignment="Left" |
|
122 |
VerticalAlignment="Top" |
|
123 |
StrokeThickness="2" |
|
124 |
Data="M2,8 L8,2 M9,5 C9,7.2 7.2,9 5,9 C2.7,9 1,7 1,5 C1,2.8 2.8,1 5,1 C7.2,1 9,2.8 9,5 z" |
|
125 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=ValidationBrush}"/> |
|
126 |
<Path x:Name="MoveEffect" |
|
127 |
Visibility="Collapsed" |
|
128 |
Width="20" |
|
129 |
Height="20" |
|
130 |
HorizontalAlignment="Left" |
|
131 |
VerticalAlignment="Top" |
|
132 |
Data="M0,5 L8,5 M4,1 L8,5 4,9" |
|
133 |
StrokeThickness="2" |
|
134 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}"/> |
|
135 |
<Path x:Name="CopyEffect" |
|
136 |
Visibility="Collapsed" |
|
137 |
Width="20" |
|
138 |
Height="20" |
|
139 |
Data="M5,1 L5,9 M1,5 L9,5" |
|
140 |
StrokeThickness="2" |
|
141 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}"/> |
|
142 |
<Path x:Name="LinkEffect" |
|
143 |
Visibility="Collapsed" |
|
144 |
Height="12" |
|
145 |
Width="22" |
|
146 |
StrokeThickness="1" |
|
147 |
Data="M8,0.5 C9.4,0.5 10.5,1.6 10.5,3 C10.5,4.4 9.4,5.5 8,5.5 C6.6,5.5 5.5,4.4 5.5,3 C5.5,1.6 6.6,0.5 8,0.5 z M3,0.5 C4.4,0.5 5.5,1.6 5.5,3 C5.5,4.4 4.4,5.5 3,5.5 C1.6,5.5 0.5,4.4 0.5,3 C0.5,1.6 1.6,0.5 3,0.5 z" |
|
148 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}"/> |
|
149 |
<Path x:Name="ScrollEffect" |
|
150 |
Visibility="Collapsed" |
|
151 |
Width="20" |
|
152 |
Height="24" |
|
153 |
Data="M0,5 L5,0 10,5Z M0,7 L5,12 10,7Z" |
|
154 |
Stroke="{telerik1:VisualStudio2013Resource ResourceKey=AccentDarkBrush}"/> |
|
155 |
</Grid> |
|
156 |
<ContentPresenter x:Name="Content" |
|
157 |
Content="{TemplateBinding Content}" |
|
158 |
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
159 |
HorizontalAlignment="Center" |
|
160 |
VerticalAlignment="Center"/> |
|
161 |
</Grid> |
|
162 |
</Border> |
|
163 | 174 |
</Grid> |
164 | 175 |
</ControlTemplate> |
165 | 176 |
</Setter.Value> |
내보내기 Unified diff