menu

Class ColorGrid - WinUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ColorGrid

    Represents the layout to arrange ColorItem inside a ColorPalette.

    Inheritance
    System.Object
    ColorGrid
    Namespace: Syncfusion.UI.Xaml.Editors
    Assembly: Syncfusion.Editors.WinUI.dll
    Syntax
    public class ColorGrid : NonVirtualizingLayout

    Constructors

    ColorGrid()

    Declaration
    public ColorGrid()

    Fields

    ColorShadesSpacingProperty

    Identifies ColorShadesSpacing dependency property.

    Declaration
    public static readonly DependencyProperty ColorShadesSpacingProperty
    Field Value
    Type
    Microsoft.UI.Xaml.DependencyProperty

    Properties

    ColorShadesSpacing

    Gets or sets the spacing between base colors and its variant shades.

    Declaration
    public double ColorShadesSpacing { get; set; }
    Property Value
    Type
    System.Double

    Methods

    ArrangeOverride(NonVirtualizingLayoutContext, Size)

    Declaration
    protected override Size ArrangeOverride(NonVirtualizingLayoutContext context, Size finalSize)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Controls.NonVirtualizingLayoutContext context
    Windows.Foundation.Size finalSize
    Returns
    Type
    Windows.Foundation.Size

    MeasureOverride(NonVirtualizingLayoutContext, Size)

    Declaration
    protected override Size MeasureOverride(NonVirtualizingLayoutContext context, Size availableSize)
    Parameters
    Type Name Description
    Microsoft.UI.Xaml.Controls.NonVirtualizingLayoutContext context
    Windows.Foundation.Size availableSize
    Returns
    Type
    Windows.Foundation.Size
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved