menu

UWP

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

    Show / Hide Table of Contents

    Class ColorPattern

    Represents a class to create color pattern for diagram themes.

    Inheritance
    System.Object
    ColorPattern
    HsvLinearColorPattern
    HsvSolidColorPattern
    Namespace: Syncfusion.UI.Xaml.Diagram.Theming
    Assembly: Syncfusion.SfDiagram.UWP.dll
    Syntax
    public abstract class ColorPattern : Object

    Constructors

    ColorPattern()

    Declaration
    protected ColorPattern()

    Methods

    GetBrush(Theme, String)

    To create brushes fo color pattern of themes.

    Declaration
    public abstract Brush GetBrush(Theme theme, string accent)
    Parameters
    Type Name Description
    Theme theme

    Gets diagram theme.

    System.String accent

    Gets accent color name.

    Returns
    Type
    Windows.UI.Xaml.Media.Brush

    Extension Methods

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