WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorItem

    Show / Hide Table of Contents

    Class ColorItem

    Represents a class for ColorItem in system color items list.

    Inheritance
    System.Object
    ColorItem
    Implements
    System.IDisposable
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class ColorItem : IDisposable

    Constructors

    ColorItem()

    Initializes a new instance of the ColorItem class.

    Declaration
    public ColorItem()

    ColorItem(String, SolidColorBrush)

    Initializes a new instance of the ColorItem class.

    Declaration
    public ColorItem(string name, SolidColorBrush brush)
    Parameters
    Type Name Description
    System.String name

    Name of the ColorItem.

    System.Windows.Media.SolidColorBrush brush

    Brush of the ColorItem.

    Properties

    Brush

    Gets current the brush of the ColorItem.

    Declaration
    public SolidColorBrush Brush { get; }
    Property Value
    Type Description
    System.Windows.Media.SolidColorBrush

    Type: Brush

    Name

    Gets or sets the name of the ColorItem.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String

    Type: System.String

    Methods

    Dispose()

    Disposes all the resources.

    Declaration
    public void Dispose()

    Implements

    System.IDisposable
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved