Version

AllowResizeDropDown Property

Returns/sets a value that indicates whether the GalleryTool dropdown can be resized. If true, a resizer bar will be displayed within the dropdown to allow resizing in the vertical and/or horizontal dimension (see note below).
Syntax
'Declaration
 
Public Property AllowResizeDropDown As Boolean
public bool AllowResizeDropDown {get; set;}
Remarks

Note: If the MinDropDownColumns and MaxDropDownColumns have the same value, the dropdown will only be resizable vertically.

Example
The following example shows how to use the AllowResizeDropDown property to specify whether the GalleryTool dropdown can be resized.

Imports System
Imports System.Windows
Imports Infragistics.Windows.Ribbon


Namespace MyNamespace
    Public Partial Class MyWindow
        Inherits XamRibbonWindow
        Public Sub New()
            InitializeComponent()
        End Sub
       
        Private Sub SetupGalleryTool()
           galleryTool.AllowResizeDropDown = True
        End Sub
    End Class
End Namespace
using System;
using System.Windows;
using Infragistics.Windows.Ribbon;


namespace MyNamespace
{
    public partial class MyWindow : XamRibbonWindow
    {
        public MyWindow()
        {
            InitializeComponent();
        }

        private void SetupGalleryTool()
        {
            galleryTool.AllowResizeDropDown  = true;
        }
    }
}
<igRibbon:XamRibbonWindow x:Class="SnippetApp.Window1"
    
xmlns:igRibbon="http://infragistics.com/Ribbon">

    ....

    
<igRibbon:GalleryTool Name="galleryTool" AllowResizeDropDown="True"/>

    ....

</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