개정판 eeb0a39c
Master 변경
Change-Id: I88bac84fa474fd4c174dc1fffa19eae5303ba2bc
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 |
Style="{DynamicResource borderContent}"> |
|
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> |
|
34 | 39 |
<ContentPresenter /> |
35 | 40 |
</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> |
|
42 | 41 |
<ControlTemplate.Triggers> |
43 | 42 |
<Trigger Property="IsSelected" Value="true"> |
44 | 43 |
<Setter TargetName="myBorder" Property="BorderBrush" Value="{DynamicResource KCOMColor_AccentBrush}"/> |
... | ... | |
482 | 481 |
</Border> |
483 | 482 |
<telerik:RadListBox x:Name="ImgListbox" Margin="1" |
484 | 483 |
ItemTemplate="{StaticResource ThumbnailDataTemplate}" |
485 |
Grid.Row="2" |
|
484 |
Grid.Row="2" |
|
485 |
SelectedItem="{Binding}" |
|
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="commentType_SelectionChanged">
|
|
537 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentFilter_SelectionChanged">
|
|
538 | 538 |
<telerik:RadComboBox.ItemTemplate> |
539 | 539 |
<DataTemplate> |
540 | 540 |
<Image Source="{Binding Converter={StaticResource converterTypeImageConverter}}" Margin="5" Width="28" Height="28"/> |
... | ... | |
542 | 542 |
</telerik:RadComboBox.ItemTemplate> |
543 | 543 |
</telerik:RadComboBox> |
544 | 544 |
<telerik:RadComboBox HorizontalAlignment="Stretch" Margin="5" DropDownWidth="*" Background="White" BorderBrush="#d6d6d6" x:Name="commentUser" |
545 |
FontSize="10" Grid.Column="1" DisplayMemberPath="UserName" ItemsSource="{Binding UsersCommentPagesList, ElementName=userControl}"
|
|
546 |
SelectionChanged="commentUser_SelectionChanged" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All"
|
|
545 |
FontSize="10" Grid.Column="1" |
|
546 |
SelectionChanged="commentFilter_SelectionChanged" ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All"
|
|
547 | 547 |
EmptyText="USER"> |
548 |
<!--ItemsSource="{Binding UsersCommentPagesList, ElementName=userControl}"--> |
|
548 | 549 |
</telerik:RadComboBox> |
549 | 550 |
<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="commentPage_SelectionChanged"/>
|
|
551 |
ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Show All" SelectionChanged="commentFilter_SelectionChanged"/>
|
|
551 | 552 |
</Grid> |
552 | 553 |
</Border> |
553 | 554 |
<Border Grid.Row="1" Background="#FFE6E6E6"> |
내보내기 Unified diff