new 21
26 января 2016 г. 8:31
"
Helpers:ImageHelper.FramedImageUri"
Value
=
"
pack://application:,,,/Publisher2.Resources;component/Images/Star
tPage/RecentProjectAbsentIcon.ico"
/>
<Setter
TargetName
=
"Pin"
Property
=
"Visibility"
Value
=
"Hidden"
/>
<Setter
Property
=
"ToolTip"
>
<Setter.Value>
<TextBlock
Text
=
"{Binding Mode=OneWay,
StringFormat={x:Static
Projects:Projects.ProjectFileNotFoundTooltipTemplate}}"
/>
</Setter.Value>
</Setter>
</DataTrigger.Setters>
</DataTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style
x:Key
=
"QuickStartListBoxItemContainerStyle"
TargetType
=
"{x:Type ListBoxItem}"
>
<Setter
Property
=
"Template"
>
<Setter.Value>
<ControlTemplate
TargetType
=
"{x:Type ListBoxItem}"
>
<Border
Name
=
"Border"
HorizontalAlignment
=
"{TemplateBinding HorizontalAlignment}"
VerticalAlignment
=
"{TemplateBinding VerticalAlignment}"
SnapsToDevicePixels
=
"True"
Margin
=
"0,-1,0,0"
BorderThickness
=
"0,1"
BorderBrush
=
"{StaticResource QuickStartItemBorderBrush}"
Background
=
"{TemplateBinding Background}"
>
<ContentPresenter
VerticalAlignment
=
"{TemplateBinding VerticalContentAlignment}"
HorizontalAlignment
=
"{TemplateBinding HorizontalContentAlignment}"
Margin
=
"{TemplateBinding Padding}"
SnapsToDevicePixels
=
"{TemplateBinding SnapsToDevicePixels}"
/>
</Border>
<ControlTemplate.Triggers>
<MultiTrigger>
<MultiTrigger.Conditions>
<Condition
Property
=
"IsMouseOver"
Value
=
"True"
/>
<Condition
Property
=
"IsSelected"
Value
=
"False"
/>
</MultiTrigger.Conditions>
<Setter
TargetName
=
"Border"
Property
=
"BorderThickness"
Value
=
"0,1"
/>
<Setter
TargetName
=
"Border"
Property
=
"BorderBrush"
Value
=
"{StaticResource QuickStartItemMouseOverBorderBrush}"
/>
<Setter
TargetName
=
"Border"
Property
=
"Background"
Value
=
"{StaticResource QuickStartItemMouseOverBackgroundBrush}"
/>
</MultiTrigger>
<Trigger
Property
=
"IsSelected"
Value
=
"True"
>
-3-