Show / Hide Table of Contents

Class ColorSetting

ColorSetting is intended for objects to be used in Settings. It provides a Color with the IShowProperty interface.

Inheritance
System.Object
IShowPropertyImpl
ColorSetting
Implements
IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
ISettingChanged
Inherited Members
IShowPropertyImpl.propertyTreeView
IShowPropertyImpl.labelText
IShowPropertyImpl.resourceId
IShowPropertyImpl.flagsToSuppress
IShowPropertyImpl.SuppressFlags(ShowPropertyLabelFlags)
IShowPropertyImpl.Frame
IShowPropertyImpl.IShowProperty.Added(IPropertyTreeView)
IShowPropertyImpl.Added(IPropertyTreeView)
IShowPropertyImpl.Selected()
IShowPropertyImpl.UnSelected()
IShowPropertyImpl.ChildSelected(IShowProperty)
IShowPropertyImpl.Opened(Boolean)
IShowPropertyImpl.Removed(IPropertyTreeView)
IShowPropertyImpl.ShowOpen(Boolean)
IShowPropertyImpl.Select()
IShowPropertyImpl.LabelText
IShowPropertyImpl.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.LabelType
IShowPropertyImpl.EntryType
IShowPropertyImpl.SubEntriesCount
IShowPropertyImpl.SubEntries
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
IShowPropertyImpl.LabelChanged(String)
IShowPropertyImpl.SetFocus()
IShowPropertyImpl.Hidden
IShowPropertyImpl.ReadOnly
IShowPropertyImpl.Refresh()
IShowPropertyImpl.OnEnterPressed()
IShowPropertyImpl.OnVisibilityChanged(Boolean)
IShowPropertyImpl.IsSelected
IShowPropertyImpl.Concat(IShowProperty[], IShowProperty[])
IShowPropertyImpl.Update(IShowProperty)
IShowPropertyImpl.SelectedBckgColor
IShowPropertyImpl.SelectedTextColor
IShowPropertyImpl.UnselectedBckgColor
IShowPropertyImpl.UnselectedTextColor
IShowPropertyImpl.IPropertyEntry.IsOpen
IShowPropertyImpl.HasDropDownButton
IShowPropertyImpl.ValueIsEditable
IShowPropertyImpl.ResourceId
IShowPropertyImpl.Parent
IShowPropertyImpl.SubItems
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
IShowPropertyImpl.ContextMenu
IShowPropertyImpl.GetDropDownList()
IShowPropertyImpl.StartEdit(Boolean)
IShowPropertyImpl.EndEdit(Boolean, Boolean, String)
IShowPropertyImpl.EditTextChanged(String)
IShowPropertyImpl.IPropertyEntry.Index
IShowPropertyImpl.IPropertyEntry.IndentLevel
IShowPropertyImpl.Selected(IPropertyEntry)
IShowPropertyImpl.UnSelected(IPropertyEntry)
IShowPropertyImpl.ListBoxSelected(Int32)
IShowPropertyImpl.DeferUpdate
IShowPropertyImpl.PropertyEntryChangedStateEvent
IShowPropertyImpl.PropertyEntryChangedState(StateChangedArgs)
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: CADability
Assembly: CADability.dll
Syntax
[Serializable]
public class ColorSetting : IShowPropertyImpl, IShowProperty, IPropertyEntry, ISerializable, ISettingChanged

Constructors

| Improve this Doc View Source

ColorSetting()

Declaration
public ColorSetting()
| Improve this Doc View Source

ColorSetting(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected ColorSetting(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

SerializationInfo

System.Runtime.Serialization.StreamingContext context

StreamingContext

| Improve this Doc View Source

ColorSetting(String, String)

Declaration
public ColorSetting(string settingName, string resourceId)
Parameters
Type Name Description
System.String settingName
System.String resourceId

Properties

| Improve this Doc View Source

Color

Declaration
public Color Color { get; set; }
Property Value
Type Description
System.Drawing.Color
| Improve this Doc View Source

Flags

Declaration
public override PropertyEntryType Flags { get; }
Property Value
Type Description
PropertyEntryType
Overrides
IShowPropertyImpl.Flags
| Improve this Doc View Source

Label

Declaration
public override string Label { get; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.Label
| Improve this Doc View Source

Value

Declaration
public override string Value { get; }
Property Value
Type Description
System.String
Overrides
IShowPropertyImpl.Value

Methods

| Improve this Doc View Source

Added(IPropertyPage)

Declaration
public override void Added(IPropertyPage pp)
Parameters
Type Name Description
IPropertyPage pp
Overrides
IShowPropertyImpl.Added(IPropertyPage)
| Improve this Doc View Source

ButtonClicked(PropertyEntryButton)

Declaration
public override void ButtonClicked(PropertyEntryButton button)
Parameters
Type Name Description
PropertyEntryButton button
Overrides
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
| Improve this Doc View Source

GetObjectData(SerializationInfo, StreamingContext)

Implements System.Runtime.Serialization.ISerializable.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)

Declaration
public void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.Runtime.Serialization.SerializationInfo info

The System.Runtime.Serialization.SerializationInfo to populate with data.

System.Runtime.Serialization.StreamingContext context

The destination (System.Runtime.Serialization.StreamingContext) for this serialization.

| Improve this Doc View Source

Removed(IPropertyPage)

Declaration
public override void Removed(IPropertyPage pp)
Parameters
Type Name Description
IPropertyPage pp
Overrides
IShowPropertyImpl.Removed(IPropertyPage)

Operators

| Improve this Doc View Source

Implicit(ColorSetting to Color)

Declaration
public static implicit operator Color(ColorSetting cs)
Parameters
Type Name Description
ColorSetting cs
Returns
Type Description
System.Drawing.Color

Explicit Interface Implementations

| Improve this Doc View Source

ISettingChanged.SettingChangedEvent

Declaration
event SettingChangedDelegate ISettingChanged.SettingChangedEvent
Returns
Type Description
SettingChangedDelegate

Implements

IShowProperty
IPropertyEntry
System.Runtime.Serialization.ISerializable
ISettingChanged
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX