프로젝트

일반

사용자정보

개정판 e6c46927

IDe6c46927e4b2567af626ce5eb5915c4167d3314e
상위 fdab8f9c
하위 7753c079, a1cc6e1f

김태성이(가) 3달 전에 추가함

issue #0000 print&export Cancel event

Change-Id: I2a76519720a26759073c98b90a09c223fe6eea46

차이점 보기:

KCOM/Controls/PrintControl.xaml
14 14
    mc:Ignorable="d">
15 15

  
16 16
    <UserControl.Resources>
17
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
18

  
19
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
17 20
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
21
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
18 22
        <Style x:Key="GridViewCellCenterStyle" TargetType="telerik:GridViewCell">
19 23
            <Setter Property="HorizontalAlignment" Value="Center" />
20 24
        </Style>
......
555 559
                                        DataMemberBinding="{Binding UserName}"
556 560
                                        Header="User Name"
557 561
                                        IsReadOnly="True" />
558
                                    <telerik:GridViewDataColumn
562
                                    <!--<telerik:GridViewDataColumn
559 563
                                        Width="0.5*"
560 564
                                        DataMemberBinding="{Binding PageCount}"
561 565
                                        Header="Pages"
562
                                        IsReadOnly="True" />
566
                                        IsReadOnly="True" />-->
563 567
                                    <telerik:GridViewDataColumn
568
                                        Width="Auto"
569
                                        Header="CONSOLIDATION"
570
                                        IsReadOnly="True">
571
                                        <telerik:GridViewDataColumn.CellTemplate>
572
                                            <DataTemplate>
573
                                                <!--<TextBlock Text="{Binding Consolidate}"/>-->
574
                                                <Grid>
575
                                                    <Grid.ColumnDefinitions>
576
                                                        <ColumnDefinition Width="Auto" />
577
                                                        <ColumnDefinition Width="Auto" />
578
                                                        <ColumnDefinition Width="Auto" />
579
                                                    </Grid.ColumnDefinitions>
580

  
581
                                                    <TextBlock
582
                                                        Grid.Column="0"
583
                                                        Foreground="Red"
584
                                                        Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" />
585
                                                    <TextBlock
586
                                                        Grid.Column="1"
587
                                                        Foreground="Blue"
588
                                                        Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" />
589
                                                    <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
590
                                                    <!--
591
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
592
                                                        <TextBlock.Text>
593
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
594
                                                        </TextBlock.Text>
595
                                                        </TextBlock>
596
                                                    -->
597
                                                </Grid>
598
                                            </DataTemplate>
599
                                        </telerik:GridViewDataColumn.CellTemplate>
600
                                    </telerik:GridViewDataColumn>
601
                                    <!--<telerik:GridViewDataColumn
564 602
                                        Width="1*"
565 603
                                        DataMemberBinding="{Binding Description}"
566 604
                                        Header="Descriptions"
567
                                        IsReadOnly="True" />
605
                                        IsReadOnly="True" />-->
568 606

  
569 607
                                </telerik:RadGridView.Columns>
570 608
                            </telerik:RadGridView>
......
644 682
            VerticalAlignment="Stretch"
645 683
            telerik:StyleManager.Theme="Office2016"
646 684
            BorderThickness="0"
647
            BusyContent="Printing. . ."
648 685
            DisplayAfter="0:0:0.3"
649 686
            IsBusy="False"
650
            Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}" />
687
            Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}">
688
            <telerik:RadBusyIndicator.OverlayStyle>
689
                <Style TargetType="Rectangle">
690
                    <Setter Property="Stroke" Value="#FFDA8282" />
691
                    <Setter Property="Fill" Value="#7F252729" />
692
                </Style>
693
            </telerik:RadBusyIndicator.OverlayStyle>
694
            <telerik:RadBusyIndicator.BusyContentTemplate>
695
                <DataTemplate>
696
                    <StackPanel>
697
                        <TextBlock
698
                            Margin="2"
699
                            FontSize="14"
700
                            FontWeight="Bold"
701
                            Foreground="White"
702
                            Text="{Binding BusyContent, Mode=TwoWay}" />
703
                        <Button
704
                            Width="100"
705
                            Background="#FF66ACFF"
706
                            BorderBrush="#FF0A6295"
707
                            Click="btPrintCancel_click"
708
                            Content="Cancel"
709
                            FontSize="16"
710
                            Foreground="White" />
711
                    </StackPanel>
712
                </DataTemplate>
713
            </telerik:RadBusyIndicator.BusyContentTemplate>
714
        </telerik:RadBusyIndicator>
651 715
    </Grid>
652 716
</UserControl>

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)