Version

ResizeMode Property (PopupResizerDecorator)

Gets/sets how the popup will be able to be resized.
Syntax
'Declaration
 
Public Property ResizeMode As PopupResizeMode
public PopupResizeMode ResizeMode {get; set;}
Example
The following example shows how to use the PopupResizerDecorator class.

<igRibbon:XamRibbonWindow x:Class="SnippetApp.Window1"
    
xmlns:igRibbon="http://infragistics.com/Ribbon"
    
xmlns:igWindows="http://infragistics.com/Windows">

    ....

    
<igRibbon:RibbonGroup Id="Popup" Caption="Popup">
        
<Popup Name="myPopup" 
                        
Placement="Bottom"
                        
PlacementTarget="{Binding ElementName=popupOpen}"
                        
IsOpen="{Binding ElementName=popupOpen, Path=IsChecked}">
            
<igWindows:PopupResizerDecorator 
                        
ResizeMode="VerticalOnly"
                        
ResizerBarStyle="{DynamicResource {x:Static igRibbon:XamRibbon.PopupResizerBarStyleKey}}">
                
<TextBlock Name="myPopupText" Background="LightBlue" Foreground="Blue">
                        My Popup Text
                
</TextBlock>
            
</igWindows:PopupResizerDecorator>
        
</Popup>
        
<igRibbon:ToggleButtonTool Name="popupOpen" HorizontalAlignment="Left" Width="150" Margin="0,0,0,0">Open popup</igRibbon:ToggleButtonTool>
    
</igRibbon:RibbonGroup>

    ....

</igRibbon:XamRibbonWindow>
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