Develop and Download Open Source Software

Browse Subversion Repository

Contents of /branches/ProcessWatchImpl/Scone/Themes/Generic.xaml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 44 - (show annotations) (download)
Tue Dec 15 16:20:54 2009 UTC (14 years, 3 months ago) by netseed
File size: 2339 byte(s)


1 <ResourceDictionary
2 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4 xmlns:sys="clr-namespace:System.Windows.Media;assembly=PresentationCore"
5 xmlns:local="clr-namespace:Toast.Scone"
6 xmlns:base="clr-namespace:SeedCreate.Controls.ControlBase;assembly=SeedCreateWpfControlLibrary">
7
8
9 <Style TargetType="{x:Type local:TwitterUserIdBox}" BasedOn="{StaticResource {x:Type base:BiStateTextBox}}">
10 <Style.Setters>
11 <Setter Property="EmptyExpression" Value="Please input your Twitter ID."/>
12 </Style.Setters>
13 </Style>
14
15 <Style TargetType="{x:Type local:SmileUserIdBox}" BasedOn="{StaticResource {x:Type base:BiStateTextBox}}">
16 <Style.Setters>
17 <Setter Property="EmptyExpression" Value="Please input target niconico ID."/>
18 <Setter Property="Text">
19 <Setter.Value>
20 <Binding Path="EmbodimentText" RelativeSource="{RelativeSource Self}">
21 <Binding.ValidationRules>
22 <local:SmileIdValidationRule/>
23 </Binding.ValidationRules>
24 </Binding>
25 </Setter.Value>
26 </Setter>
27 </Style.Setters>
28
29 <Style.Triggers>
30 <Trigger Property="IsEmpty" Value="True">
31 <Setter Property="Foreground"
32 Value="{Binding RelativeSource={RelativeSource Self},
33 Path=EmptyForeground}"/>
34 <Setter Property="Text"
35 Value="{Binding RelativeSource={RelativeSource Self},Path=EmptyExpression}"/>
36 </Trigger>
37 </Style.Triggers>
38 </Style>
39
40 <Style TargetType="{x:Type local:FormatBox}" BasedOn="{StaticResource {x:Type base:BiStateTextBox}}">
41 <Style.Setters>
42 <Setter Property="EmptyExpression" Value="Twitterのフォーマットを入力して下さい。" />
43 <Setter Property="EmbodimentText" Value="" />
44 </Style.Setters>
45 </Style>
46
47 <Style TargetType="{x:Type local:EventSurrogater}">
48 <Style.Setters>
49 <Setter Property="IsHitTestVisible" Value="false"/>
50 <Setter Property="IsTabStop" Value="false"/>
51 <Setter Property="MaxHeight" Value="1"/>
52 <Setter Property="MaxWidth" Value="1"/>
53 <Setter Property="Foreground" Value="{x:Null}"/>
54 <Setter Property="Background" Value="{x:Null}"/>
55 <Setter Property="BorderBrush" Value="{x:Null}"/>
56 <Setter Property="Focusable" Value="false"/>
57 </Style.Setters>
58 </Style>
59
60
61 </ResourceDictionary>

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26