Intersoft WebDesktop Documentation
Disabling Resizing for specific Pane
See Also Send Feedback
Intersoft WebDesktop > Common Tasks > Disabling Resizing for specific Pane

Glossary Item Box

Objectives

Disabling Resizing for a specific Pane is fairly simple. All you need to do in set the WebPane AllowResize property to No. The value of the property is an enumeration of type AllowCollapse which values are

C# Copy Code
/// <summary>
/// Enumerations for allow resizing.
/// </summary>
public enum AllowResize
{
    Default = 0,
    /// <summary>
    /// Indicates that a container element such as Pane or Window is allowed to be resized by users.
    /// </summary>
    Yes = 1,
    /// <summary>
    /// Indicates that a container element such as Pane or Window is not allowed to be resized by users.
    /// </summary>
    No = 2
}
  1. You can access that property during DesignTime either by right clicking the WebPaneManager and choosing WebPane Designer or WebPane Advanced Designer.
  2. In the snapshot below, the PaneSide AllowResize property is set to No so at run-time the Pane will be un-resizable.



  3. After the property AllowResize is set to No, when you mouse over the border between the unresizable Pane and other Pane, the cursor will not change to splitter.

See Also

Related Tutorials
{Creating Simple Layout}

© 2012 Intersoft Solutions Corp. All Rights Reserved.