Class StyleList
Inheritance
System.Object
StyleList
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback
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()
Assembly: CADability.dll
Syntax
[Serializable]
public class StyleList : IShowPropertyImpl, IShowProperty, IPropertyEntry, ICloneable, ISerializable, IAttributeList, ICommandHandler, IDeserializationCallback, IJsonSerialize, IJsonSerializeDone
Constructors
|
Improve this Doc
View Source
StyleList()
Declaration
|
Improve this Doc
View Source
StyleList(SerializationInfo, StreamingContext)
Constructor required by deserialization
Declaration
protected StyleList(SerializationInfo info, StreamingContext context)
Parameters
| Type |
Name |
Description |
| System.Runtime.Serialization.SerializationInfo |
info |
SerializationInfo
|
| System.Runtime.Serialization.StreamingContext |
context |
StreamingContext
|
Fields
|
Improve this Doc
View Source
styles
Declaration
protected SortedList styles
Field Value
| Type |
Description |
| System.Collections.SortedList |
|
Properties
|
Improve this Doc
View Source
ColorList
Declaration
public ColorList ColorList { get; }
Property Value
|
Improve this Doc
View Source
Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Overrides
|
Improve this Doc
View Source
Current
Declaration
public Style Current { get; set; }
Property Value
|
Improve this Doc
View Source
DimensionStyleList
Declaration
public DimensionStyleList DimensionStyleList { get; }
Property Value
|
Improve this Doc
View Source
EntryType
Declaration
public override ShowPropertyEntryType EntryType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
HatchStyleList
Declaration
public HatchStyleList HatchStyleList { get; }
Property Value
|
Improve this Doc
View Source
LabelType
Declaration
public override ShowPropertyLabelFlags LabelType { get; }
Property Value
Overrides
|
Improve this Doc
View Source
LayerList
Declaration
public LayerList LayerList { get; }
Property Value
|
Improve this Doc
View Source
Names
Declaration
public string[] Names { get; }
Property Value
| Type |
Description |
| System.String[] |
|
|
Improve this Doc
View Source
Owner
Declaration
public IAttributeListContainer Owner { get; set; }
Property Value
|
Improve this Doc
View Source
SubEntries
Overrides SubEntries,
returns the subentries in this property view.
Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Overrides
|
Improve this Doc
View Source
SubEntriesCount
Overrides SubEntriesCount,
returns the number of subentries in this property view.
Declaration
public override int SubEntriesCount { get; }
Property Value
| Type |
Description |
| System.Int32 |
|
Overrides
Methods
|
Improve this Doc
View Source
Add(Style)
Declaration
public void Add(Style ToAdd)
Parameters
| Type |
Name |
Description |
| Style |
ToAdd |
|
|
Improve this Doc
View Source
Clone()
Declaration
Returns
|
Improve this Doc
View Source
Find(String)
Declaration
public Style Find(string Name)
Parameters
| Type |
Name |
Description |
| System.String |
Name |
|
Returns
|
Improve this Doc
View Source
FindIndex(Style)
Declaration
public int FindIndex(Style style)
Parameters
| Type |
Name |
Description |
| Style |
style |
|
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
GetDefault(IAttributeListContainer)
Declaration
public static StyleList GetDefault(IAttributeListContainer container)
Parameters
Returns
|
Improve this Doc
View Source
GetDefault(Style.EDefaultFor)
Declaration
public Style GetDefault(Style.EDefaultFor defaultFor)
Parameters
Returns
|
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
Remove(Style)
Declaration
public void Remove(Style toRemove)
Parameters
| Type |
Name |
Description |
| Style |
toRemove |
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IAttributeList.Add(INamedAttribute)
Declaration
void IAttributeList.Add(INamedAttribute toAdd)
Parameters
|
Improve this Doc
View Source
IAttributeList.AttributeChanged(INamedAttribute, ReversibleChange)
Declaration
void IAttributeList.AttributeChanged(INamedAttribute attribute, ReversibleChange change)
Parameters
|
Improve this Doc
View Source
IAttributeList.Clone()
Declaration
IAttributeList IAttributeList.Clone()
Returns
|
Improve this Doc
View Source
IAttributeList.Count
Declaration
int IAttributeList.Count { get; }
Returns
| Type |
Description |
| System.Int32 |
|
|
Improve this Doc
View Source
IAttributeList.Current
Declaration
INamedAttribute IAttributeList.Current { get; }
Returns
|
Improve this Doc
View Source
IAttributeList.Find(String)
Declaration
INamedAttribute IAttributeList.Find(string Name)
Parameters
| Type |
Name |
Description |
| System.String |
Name |
|
Returns
|
Improve this Doc
View Source
IAttributeList.Initialize()
Declaration
void IAttributeList.Initialize()
|
Improve this Doc
View Source
IAttributeList.Item(Int32)
Declaration
INamedAttribute IAttributeList.Item(int Index)
Parameters
| Type |
Name |
Description |
| System.Int32 |
Index |
|
Returns
|
Improve this Doc
View Source
IAttributeList.MayChangeName(INamedAttribute, String)
Declaration
bool IAttributeList.MayChangeName(INamedAttribute attribute, string newName)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
IAttributeList.NameChanged(INamedAttribute, String)
Declaration
void IAttributeList.NameChanged(INamedAttribute Attribute, string oldName)
Parameters
|
Improve this Doc
View Source
IAttributeList.Update(IGeoObject)
Declaration
void IAttributeList.Update(IGeoObject Object2Update)
Parameters
|
Improve this Doc
View Source
IAttributeList.Update(Boolean)
Declaration
void IAttributeList.Update(bool AddMissingToList)
Parameters
| Type |
Name |
Description |
| System.Boolean |
AddMissingToList |
|
|
Improve this Doc
View Source
IJsonSerialize.GetObjectData(IJsonWriteData)
Declaration
void IJsonSerialize.GetObjectData(IJsonWriteData data)
Parameters
|
Improve this Doc
View Source
IJsonSerialize.SetObjectData(IJsonReadData)
Declaration
void IJsonSerialize.SetObjectData(IJsonReadData data)
Parameters
|
Improve this Doc
View Source
IJsonSerializeDone.SerializationDone()
Declaration
void IJsonSerializeDone.SerializationDone()
|
Improve this Doc
View Source
ICommandHandler.OnCommand(String)
Declaration
bool ICommandHandler.OnCommand(string MenuId)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICommandHandler.OnSelected(MenuWithHandler, Boolean)
Declaration
void ICommandHandler.OnSelected(MenuWithHandler selectedMenuItem, bool selected)
Parameters
| Type |
Name |
Description |
| MenuWithHandler |
selectedMenuItem |
|
| System.Boolean |
selected |
|
|
Improve this Doc
View Source
ICommandHandler.OnUpdateCommand(String, CommandState)
Declaration
bool ICommandHandler.OnUpdateCommand(string MenuId, CommandState CommandState)
Parameters
| Type |
Name |
Description |
| System.String |
MenuId |
|
| CommandState |
CommandState |
|
Returns
| Type |
Description |
| System.Boolean |
|
|
Improve this Doc
View Source
ICloneable.Clone()
Declaration
object ICloneable.Clone()
Returns
| Type |
Description |
| System.Object |
|
|
Improve this Doc
View Source
IDeserializationCallback.OnDeserialization(Object)
Declaration
void IDeserializationCallback.OnDeserialization(object sender)
Parameters
| Type |
Name |
Description |
| System.Object |
sender |
|
Implements
System.ICloneable
System.Runtime.Serialization.ISerializable
System.Runtime.Serialization.IDeserializationCallback