menu

WPF

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorPattern - WPF 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
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Syncfusion.UI.Xaml.Diagram.Theming
    Assembly: Syncfusion.SfDiagram.WPF.dll
    Syntax
    public abstract class ColorPattern

    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
    System.Windows.Media.Brush
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved