...
예제 소스
<?xml version="1.0" encoding="utf-8"?>
<Style>
<Type Name="TitleMenu"><![CDATA[
<Grid
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="clr-namespace:BIMATRIX.MATRIX6.XBrowserMng6.UI;assembly=XBrowserMng6"
Background="White">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="auto"/>
<ColumnDefinition Width="10"/>
</Grid.ColumnDefinitions>
<Border BorderThickness="0,0,0,1" Grid.ColumnSpan="3" BorderBrush="#838383"></Border><Controls:ucTitleMenuControl />
<StackPanel Orientation="Horizontal" Grid.Column="1">
<Controls:MTXButton Margin="10,0,0,0" Content="fileopen" Width="100" Height="20" Tag="OpenReportFile;http://localhost:8081/extention;.xps" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
<Controls:MTXButton Margin="10,0,0,0" Content="InvokeMethod" Width="100" Height="20" Tag="InvokeMethod;MenuControl;cfunction" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
<Controls:MTXButton Margin="10,0,0,0" Content="OpeniPortalPopup" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
<Controls:MTXButton Margin="10,0,0,0" Content="OpenIEPopup" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
<Controls:MTXButton Margin="10,0,0,0" Content="Notice" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
<Controls:MTXButton Margin="10,0,0,0" Content="LeftMenuShowHide" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
</StackPanel></Grid>
]]>
</Type>
</Style>
- 버튼 권한 설정
기능 - Method
Mehod Call Ex)
Tag = 함수명;파라미터1;파라미터2; ....
<Controls:MTXButton Margin="10,0,0,0" Content="fileopen" Width="100" Height="20" Tag="OpeniPortalPopup;http://localhost:8081/extention/Book1.xps;540;580" Command="{Binding ViewerCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Self}}"/>
Name | Description | |
---|---|---|
AddDataset | Dataset 을 추가 합니다. | |
ChangeConnectionCode | 현재 보고서의 DB 연결 정보를 변경 합니다. | |
CRUD | CRUD 처리 | |
- 예제 파일
...