Show / Hide Table of Contents

Class LinePattern

Inheritance
System.Object
IShowPropertyImpl
LinePattern
Implements
IShowProperty
IPropertyEntry
INamedAttribute
System.Runtime.Serialization.ISerializable
ICommandHandler
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.InfoText
IShowPropertyImpl.HelpLink
IShowPropertyImpl.OwnerDrawHeight
IShowPropertyImpl.IShowProperty.SetTabIndex(Int32)
IShowPropertyImpl.StateChangedEvent
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.Flags
IShowPropertyImpl.Label
IShowPropertyImpl.Value
IShowPropertyImpl.ResourceId
IShowPropertyImpl.SubItems
IShowPropertyImpl.ButtonClicked(PropertyEntryButton)
IShowPropertyImpl.OpenOrCloseSubEntries()
IShowPropertyImpl.propertyPage
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.Attribute
Assembly: CADability.dll
Syntax
[Serializable]
public class LinePattern : IShowPropertyImpl, IShowProperty, IPropertyEntry, INamedAttribute, ISerializable, ICommandHandler

Constructors

| Improve this Doc View Source

LinePattern()

Creates an empty and unnamed LinePattern

Declaration
public LinePattern()
| Improve this Doc View Source

LinePattern(SerializationInfo, StreamingContext)

Constructor required by deserialization

Declaration
protected LinePattern(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

LinePattern(String, Double[])

Declaration
public LinePattern(string name, params double[] pattern)
Parameters
Type Name Description
System.String name
System.Double[] pattern

Properties

| Improve this Doc View Source

ContextMenu

Declaration
public override MenuWithHandler[] ContextMenu { get; }
Property Value
Type Description
MenuWithHandler[]
Overrides
IShowPropertyImpl.ContextMenu
| Improve this Doc View Source

EntryType

Overrides EntryType, returns SimpleEntry.

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

LabelText

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

LabelType

Overrides LabelType

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

Name

Declaration
public string Name { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Parent

Declaration
public IAttributeList Parent { get; set; }
Property Value
Type Description
IAttributeList
| Improve this Doc View Source

Pattern

Declaration
public double[] Pattern { get; set; }
Property Value
Type Description
System.Double[]
| Improve this Doc View Source

PatternCount

Declaration
public int PatternCount { get; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

Scale

Gets or sets the LinePattern.Scaling of this LinePattern.

Declaration
public LinePattern.Scaling Scale { get; set; }
Property Value
Type Description
LinePattern.Scaling
| Improve this Doc View Source

Solid

Declaration
public bool Solid { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

SubEntries

Overrides SubEntries, returns the subentries in this property view.

Declaration
public override IShowProperty[] SubEntries { get; }
Property Value
Type Description
IShowProperty[]
Overrides
IShowPropertyImpl.SubEntries
| 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
IShowPropertyImpl.SubEntriesCount

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

Clone()

Returns a clone of this LinePattern

Declaration
public LinePattern Clone()
Returns
Type Description
LinePattern
| Improve this Doc View Source

GetGap(Int32)

Declaration
public double GetGap(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Double
| 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

GetStroke(Int32)

Declaration
public double GetStroke(int index)
Parameters
Type Name Description
System.Int32 index
Returns
Type Description
System.Double
| Improve this Doc View Source

LabelChanged(String)

Overrides LabelChanged(String)

Declaration
public override void LabelChanged(string NewText)
Parameters
Type Name Description
System.String NewText
Overrides
IShowPropertyImpl.LabelChanged(String)
| Improve this Doc View Source

Read(String, SerializationInfo, StreamingContext)

Declaration
public static LinePattern Read(string name, SerializationInfo info, StreamingContext context)
Parameters
Type Name Description
System.String name
System.Runtime.Serialization.SerializationInfo info
System.Runtime.Serialization.StreamingContext context
Returns
Type Description
LinePattern
| Improve this Doc View Source

Removed(IPropertyPage)

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

SetPattern(Int32, Double, Double)

Declaration
public void SetPattern(int index, double stroke, double gap)
Parameters
Type Name Description
System.Int32 index
System.Double stroke
System.Double gap

Explicit Interface Implementations

| Improve this Doc View Source

INamedAttribute.GetSelectionProperty(String, Project, GeoObjectList)

Declaration
IShowProperty INamedAttribute.GetSelectionProperty(string key, Project project, GeoObjectList geoObjectList)
Parameters
Type Name Description
System.String key
Project project
GeoObjectList geoObjectList
Returns
Type Description
IShowProperty
| 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

Implements

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