개정판 20ef6ffe
Revert "markus 성능개선"
This reverts commit 0cda2a885008c0503d20d124631932685c72d462.
Reason for revert: <INSERT REASONING HERE>
Change-Id: Ibefadea6bec24a0b94e5f61f95f9e8d838ae369d
KCOM/Controls/Sample.xaml | ||
---|---|---|
29 | 29 |
<ControlTemplate TargetType="{x:Type telerik:RadListBoxItem}"> |
30 | 30 |
<Border x:Name="myBorder" |
31 | 31 |
Padding="0" Margin="0 3 20 0" |
32 |
SnapsToDevicePixels="False"> |
|
33 |
<Border.Style> |
|
34 |
<Style TargetType="Border"> |
|
35 |
<Setter Property="BorderThickness" Value="3 3 3 3"/> |
|
36 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
37 |
</Style> |
|
38 |
</Border.Style> |
|
32 |
SnapsToDevicePixels="False" |
|
33 |
Style="{DynamicResource borderContent}"> |
|
39 | 34 |
<ContentPresenter /> |
40 | 35 |
</Border> |
36 |
<ControlTemplate.Resources> |
|
37 |
<Style x:Key="borderContent" TargetType="Border"> |
|
38 |
<Setter Property="BorderThickness" Value="3 3 3 3"/> |
|
39 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
40 |
</Style> |
|
41 |
</ControlTemplate.Resources> |
|
41 | 42 |
<ControlTemplate.Triggers> |
42 | 43 |
<Trigger Property="IsSelected" Value="true"> |
43 | 44 |
<Setter TargetName="myBorder" Property="BorderBrush" Value="{DynamicResource KCOMColor_AccentBrush}"/> |
... | ... | |
481 | 482 |
</Border> |
482 | 483 |
<telerik:RadListBox x:Name="ImgListbox" Margin="1" |
483 | 484 |
ItemTemplate="{StaticResource ThumbnailDataTemplate}" |
484 |
Grid.Row="2" |
|
485 |
SelectedItem="{Binding}" |
|
485 |
Grid.Row="2" |
|
486 | 486 |
Background="{DynamicResource KCOMColor_AlternativeBrush}" |
487 | 487 |
ItemContainerStyle="{StaticResource ItemContainerStyle}" |
488 | 488 |
BorderBrush="#FFC2C2C2" BorderThickness="0" |
489 |
SelectedIndex="0" |
|
489 |
SelectedIndex="0"
|
|
490 | 490 |
ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
491 | 491 |
ScrollViewer.VerticalScrollBarVisibility="Auto" |
492 | 492 |
ScrollViewer.CanContentScroll="True" |
493 | 493 |
ScrollViewer.IsDeferredScrollingEnabled="True" |
494 |
VirtualizingStackPanel.IsVirtualizing="True" |
|
494 |
VirtualizingStackPanel.IsVirtualizing="True"
|
|
495 | 495 |
VirtualizingStackPanel.VirtualizationMode="Recycling" |
496 | 496 |
telerik:StyleManager.Theme="Office2016" > |
497 | 497 |
<telerik:RadListBox.ItemsPanel> |
... | ... | |
534 | 534 |
<ColumnDefinition/> |
535 | 535 |
</Grid.ColumnDefinitions> |
536 | 536 |
<telerik:RadComboBox EmptyText="TYPE" Grid.Column="0" HorizontalAlignment="Stretch" Margin="5" DropDownWidth="*" Background="White" BorderBrush="#d6d6d6" x:Name="commentType" |
537 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentFilter_SelectionChanged">
|
|
537 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentType_SelectionChanged">
|
|
538 | 538 |
<telerik:RadComboBox.ItemTemplate> |
539 | 539 |
<DataTemplate> |
540 | 540 |
<Image Source="{Binding Converter={StaticResource converterTypeImageConverter}}" Margin="5" Width="28" Height="28"/> |
... | ... | |
543 | 543 |
</telerik:RadComboBox> |
544 | 544 |
<telerik:RadComboBox HorizontalAlignment="Stretch" Margin="5" DropDownWidth="*" Background="White" BorderBrush="#d6d6d6" x:Name="commentUser" |
545 | 545 |
FontSize="10" Grid.Column="1" DisplayMemberPath="UserName" ItemsSource="{Binding UsersCommentPagesList, ElementName=userControl}" |
546 |
SelectionChanged="commentFilter_SelectionChanged" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All"
|
|
546 |
SelectionChanged="commentUser_SelectionChanged" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All"
|
|
547 | 547 |
EmptyText="USER"> |
548 | 548 |
</telerik:RadComboBox> |
549 | 549 |
<telerik:RadComboBox EmptyText="PAGE" Grid.Column="2" HorizontalAlignment="Stretch" Margin="5" DropDownWidth="*" Background="White" BorderBrush="#d6d6d6" x:Name="commentPage" |
550 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentFilter_SelectionChanged"/>
|
|
550 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentPage_SelectionChanged"/>
|
|
551 | 551 |
</Grid> |
552 | 552 |
</Border> |
553 | 553 |
<Border Grid.Row="1" Background="#FFE6E6E6"> |
내보내기 Unified diff