menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OutlinesPanel - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OutlinesPanel

    Represents a panel which is used to position and arrange the grouping elements such as expand buttons, collapse buttons, etc.

    Inheritance
    System.Object
    OutlinesPanel
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Spreadsheet
    Assembly: Syncfusion.SfSpreadsheet.UWP.dll
    Syntax
    public class OutlinesPanel : Panel, IDisposable
    Remarks

    Holds all the operations involved with the Grouping elements.

    Constructors

    OutlinesPanel()

    Initializes a new instance of the OutlinesPanel class.

    Declaration
    public OutlinesPanel()

    Properties

    ActiveGrid

    Gets or sets the instance of the active SpreadsheetGrid which displays the data in SfSpreadsheet.

    Declaration
    public SpreadsheetGrid ActiveGrid { get; set; }
    Property Value
    Type Description
    SpreadsheetGrid

    An instance of SpreadsheetGrid.

    Orientation

    Gets or sets the orientation of the Outlines panel.

    Declaration
    public OutlinesPanel.GroupingOrientaion Orientation { get; set; }
    Property Value
    Type Description
    OutlinesPanel.GroupingOrientaion

    One of the OutlinesPanel.GroupingOrientaion enumeration that specifies the panel orientation.

    Remarks

    The Orientation of the panel is either horizontal or vertical.

    SfSpreadsheet

    Gets or sets the instance of the SfSpreadsheet which is used to view, edit and create excel files.

    Declaration
    public SfSpreadsheet SfSpreadsheet { get; set; }
    Property Value
    Type Description
    SfSpreadsheet

    An instance of SfSpreadsheet.

    Methods

    AddGroupingElements(IOutlineWrapper)

    Add the SpreadsheetGroupButton as a OutlinesPanel element and updates the grouping state

    Declaration
    protected virtual void AddGroupingElements(IOutlineWrapper outlineWrapper)
    Parameters
    Type Name Description
    IOutlineWrapper outlineWrapper

    Contains the information about the outline

    AddOutlineLabelButtons(WorksheetImpl)

    Adds the Outline label buttons as OutlinesPanel elements.

    Declaration
    protected virtual void AddOutlineLabelButtons(WorksheetImpl worksheetImpl)
    Parameters
    Type Name Description
    WorksheetImpl worksheetImpl

    An instance of WorksheetImpl

    Remarks

    Invokes the CollapseAllGroupCommand to perform expand/collapse operations based on outline value

    ArrangeOverride(Size)

    Arranges the content of OutlinesPanel in SfSpreadsheet.

    Declaration
    protected override Size ArrangeOverride(Size finalSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size finalSize

    The final size which the panel used to arrange itself.

    Returns
    Type Description
    Windows.Foundation.Size

    The actual size used.

    Dispose()

    Dispose all the instance used by the OutlinesPanel class.

    Declaration
    public void Dispose()
    Remarks

    Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    MeasureOverride(Size)

    When overridden in a derived class, measures the size in layout required for child elements and determines a size for the OutlinesPanelderived class.

    Declaration
    protected override Size MeasureOverride(Size availableSize)
    Parameters
    Type Name Description
    Windows.Foundation.Size availableSize

    The size that the panel can occupy.

    Returns
    Type Description
    Windows.Foundation.Size

    The desired size of OutlinesPanel.

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved