Version

ReportPagePresenter Constructor()

Creates an instance of the ReportPagePresenter class
Syntax
'Declaration
 
Public Function New()
public ReportPagePresenter()
Example
This example shows how to create own ReportPagePresenterTemplate

    <Style x:Key="PagePresenterStyle" TargetType="{x:Type igRep:ReportPagePresenter}">
      
<Setter Property="Template">
        
<Setter.Value>
          
<ControlTemplate TargetType="{x:Type igRep:ReportPagePresenter}">
            
<Grid>
              
<Grid
                
Opacity="0.15"
                
Margin="20,164,20,40"
                
HorizontalAlignment="Right"
                
VerticalAlignment="Bottom"
                
x:Name="watermark">
                
<Path
                  
Margin="0,166.71304321289062,0,0"
                  
HorizontalAlignment="Left"
                  
VerticalAlignment="Top"
                  
Height="196.53656005859375"
                  
Width="70.99710083007812"
                  
Stretch="Fill"
                  
Opacity="1"
                  
Data="M 15.830291748046875,166.71304321289062 C15.830291748046875,166.71304321289062 55.161376953125,166.71304321289062 55.161376953125,166.71304321289062 63.870208740234375,166.71304321289062 70.99710083007812,173.84365844726562 70.99710083007812,182.56375122070312 70.99710083007812,182.56375122070312 70.99710083007812,347.3988342285156 70.99710083007812,347.3988342285156 70.99710083007812,356.1189270019531 63.870208740234375,363.2496032714844 55.161376953125,363.2496032714844 55.161376953125,363.2496032714844 15.830291748046875,363.2496032714844 15.830291748046875,363.2496032714844 7.1214599609375,363.2496032714844 0,356.1189270019531 0,347.3988342285156 0,347.3988342285156 0,182.56375122070312 0,182.56375122070312 0,173.84365844726562 7.1214599609375,166.71304321289062 15.830291748046875,166.71304321289062 z"
                  
Fill="#c8c8c8"/>
              
</Grid>
              
<Grid
                
HorizontalAlignment="Left"
                
Margin="20,22,0,0"
                
x:Name="logo"
                
VerticalAlignment="Top"
                
Width="368"
                
Height="77.953">
                
<Grid
                  
Width="49.22"
                  
Opacity="1"
                  
Margin="0,0,0,0"
                  
HorizontalAlignment="Left"
                  
VerticalAlignment="Stretch">
                  
<Grid
                    
Width="45.24179458618164"
                    
Height="65.41898345947266"
                    
Opacity="1"
                    
Margin="1.749368667602539,11.53912353515625,0,0"
                    
HorizontalAlignment="Left"
                    
VerticalAlignment="Top">
                    
<Grid
                      
Width="18.900876998901367"
                      
Height="39.6064453125"
                      
Opacity="1"
                      
Margin="0.47963523864746094,23.80804443359375,0,0"
                      
HorizontalAlignment="Left"
                      
VerticalAlignment="Top">
                    
</Grid>
                    
<Grid
                      
Width="45.24179458618164"
                      
Height="65.41898345947266"
                      
Opacity="1"
                      
Margin="0,0,0,0"
                      
HorizontalAlignment="Left"
                      
VerticalAlignment="Top">
                      
<Grid
                        
Width="18.90087890625"
                        
Height="29.501266479492188"
                        
Opacity="1"
                        
Margin="26.34091567993164,35.91771697998047,0,0"
                        
HorizontalAlignment="Left"
                        
VerticalAlignment="Top">
                      
</Grid>
                      
<Grid
                        
Width="36.8850212097168"
                        
Height="28.751277923583984"
                        
Opacity="1"
                        
Margin="0,0,0,0"
                        
HorizontalAlignment="Left"
                        
VerticalAlignment="Top">
                      
</Grid>
                    
</Grid>
                  
</Grid>
                
</Grid>
              
<ContentPresenter x:Name="PART_Content" ContentSource="Content" Margin="21,148,23,21"/>
            
</Grid>
          
</ControlTemplate>
        
</Setter.Value>
      
</Setter>
    
</Style>
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also