프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / Themes / RequirementControlStyle.xaml @ 6f67c93d

이력 | 보기 | 이력해설 | 다운로드 (3.54 KB)

1 fad4d1c0 taeseongkim
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2
                    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
3
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
4
    <Style x:Key="AddVpCommantWindowStyle" TargetType="telerik:RadPrompt">
5
        <Setter Property="Template">
6
            <Setter.Value>
7
                <ControlTemplate TargetType="telerik:RadPrompt">
8
                    <Grid x:Name="LayoutRoot">
9
                        <Grid.RowDefinitions>
10
                            <RowDefinition Height="*"/>
11
                            <RowDefinition Height="Auto"/>
12
                        </Grid.RowDefinitions>
13
                        <Grid.ColumnDefinitions>
14
                            <ColumnDefinition Width="Auto"/>
15
                            <ColumnDefinition Width="*"/>
16
                        </Grid.ColumnDefinitions>
17
                        <ContentPresenter x:Name="Icon" VerticalAlignment="Top" Margin="16 8 8 8" ContentTemplate="{TemplateBinding IconTemplate}"/>
18
                        <StackPanel x:Name="PromptContent" Grid.Row="0" Grid.Column="1" FocusManager.FocusedElement="{Binding ElementName=PromptTextBox}">
19
                            <ScrollViewer IsTabStop="False" Grid.Row="0" Grid.Column="1" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" Margin="0 0 0 8">
20
                                <ContentPresenter x:Name="PromptText" Margin="8 8 8 0"/>
21
                            </ScrollViewer>
22
                            <TextBox Margin="8" x:Name="PromptTextBox" IsTabStop="True" TabIndex="0" Focusable="True" Text="{TemplateBinding PromptResult}">
23
                            </TextBox>
24
                        </StackPanel>
25
                        <Border x:Name="HorizontalRule"
26
                                Grid.Row="1"
27
                                Grid.ColumnSpan="2"
28
                                BorderThickness="0 0 0 1"
29
                                Height="2"
30
                                VerticalAlignment="Top"/>
31
                        <StackPanel x:Name="DialogButtons" Grid.Row="1" Grid.ColumnSpan="2" Orientation="Horizontal" HorizontalAlignment="Right">
32
                            <telerik:RadButton x:Name="OK"
33
                                    Command="{x:Static telerik:WindowCommands.Confirm}"
34
                                    telerik:RadWindow.ResponseButton="Accept"
35
                                    MinWidth="70"
36
                                    IsTabStop="True"
37
                                    TabIndex="1"
38
                                    HorizontalAlignment="Right"
39
                                    telerik:LocalizationManager.ResourceKey="Ok"
40
                                    Margin="0 10 8 8">
41
                            </telerik:RadButton>
42
                            <telerik:RadButton x:Name="Cancel"
43
                                    Command="{x:Static telerik:WindowCommands.Cancel}"
44
                                    telerik:RadWindow.ResponseButton="Cancel"
45
                                    MinWidth="70"
46
                                    IsTabStop="True"
47
                                    TabIndex="2"
48
                                    HorizontalAlignment="Right"
49
                                    telerik:LocalizationManager.ResourceKey="Cancel"
50
                                    Margin="0 10 8 8"/>
51
                        </StackPanel>
52
                    </Grid>
53
                </ControlTemplate>
54
            </Setter.Value>
55
        </Setter>
56
    </Style>
57
</ResourceDictionary>
클립보드 이미지 추가 (최대 크기: 500 MB)