개정판 c8dd192f
docking Resizer의 key event 제거
Change-Id: I95caac9ab749d0b69d435ca13b535141bd0415e4
KCOM/Controls/Sample.xaml | ||
---|---|---|
15 | 15 |
<SolidColorBrush x:Key="ListTextSelectedColor" x:Shared="False"/> |
16 | 16 |
<SolidColorBrush x:Key="ListSelectedColor" x:Shared="False"/> |
17 | 17 |
<Style x:Key="ItemContainerStyle" TargetType="{x:Type telerik:RadListBoxItem}"> |
18 |
<Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
|
18 | 19 |
<Setter Property="Template"> |
19 | 20 |
<Setter.Value> |
20 | 21 |
<ControlTemplate TargetType="{x:Type telerik:RadListBoxItem}"> |
22 |
<Grid VerticalAlignment="Stretch"> |
|
21 | 23 |
<Border x:Name="myBorder" VerticalAlignment="Center" |
22 | 24 |
Padding="0" Margin="0" |
23 |
SnapsToDevicePixels="False">
|
|
25 |
SnapsToDevicePixels="True">
|
|
24 | 26 |
<Border.Style> |
25 | 27 |
<Style TargetType="{x:Type Border}"> |
26 | 28 |
<Setter Property="BorderThickness" Value="3 3 3 3"/> |
... | ... | |
29 | 31 |
</Border.Style> |
30 | 32 |
<ContentPresenter Margin="2"/> |
31 | 33 |
</Border> |
34 |
</Grid> |
|
32 | 35 |
<ControlTemplate.Triggers> |
33 | 36 |
<Trigger Property="IsSelected" Value="true"> |
34 | 37 |
<Setter TargetName="myBorder" Property="BorderBrush" Value="{DynamicResource KCOMColor_AccentBrush}"/> |
... | ... | |
476 | 479 |
ScrollViewer.CanContentScroll="True" |
477 | 480 |
telerik:StyleManager.Theme="Office2016" |
478 | 481 |
ItemsSource="{Binding FilteredThumbnail.View, ElementName=userControl}"> |
482 |
<telerik:RadListBox.ItemsPanel> |
|
483 |
<ItemsPanelTemplate> |
|
484 |
<StackPanel/> |
|
485 |
</ItemsPanelTemplate> |
|
486 |
</telerik:RadListBox.ItemsPanel> |
|
479 | 487 |
<!-- |
488 |
|
|
489 |
|
|
480 | 490 |
VirtualizingStackPanel.IsVirtualizing를 True로 하면 빠른 속도로 선택시 |
481 | 491 |
선택 이벤트에서 이루어지는 Wcf호출이 누락되는 경우가 발생된다. |
482 | 492 |
VirtualizingPanel.VirtualizationMode="Standard" |
... | ... | |
492 | 502 |
</telerik:RadListBox.ItemsPanel>--> |
493 | 503 |
<telerik:RadListBox.ItemTemplate> |
494 | 504 |
<DataTemplate> |
495 |
<Grid x:Name="LayoutRoot"> |
|
496 |
<Grid></Grid> |
|
497 |
<Grid VerticalAlignment="Center" > |
|
505 |
<Grid x:Name="LayoutRoot" VerticalAlignment="Center" HorizontalAlignment="Center"> |
|
506 |
<Grid VerticalAlignment="Center" HorizontalAlignment="Stretch"> |
|
498 | 507 |
<Grid.RowDefinitions> |
499 | 508 |
<RowDefinition Height="Auto"/> |
500 | 509 |
<RowDefinition Height="Auto"/> |
내보내기 Unified diff