Table of Contents

Class DesignerHeader

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.Protocols.dll

The designer a module's header names (DesignerOf(string?)): the Begin <class> <name> line that opens its designer block, which says what the module's designer is (VB.Form, VB.UserControl, a VBA UserForm) and what it names the form.

public sealed record DesignerHeader : IEquatable<DesignerHeader>
Inheritance
DesignerHeader
Implements
Inherited Members

Constructors

DesignerHeader(FormControlClass, string, int, int, int?)

The designer a module's header names (DesignerOf(string?)): the Begin <class> <name> line that opens its designer block, which says what the module's designer is (VB.Form, VB.UserControl, a VBA UserForm) and what it names the form.

public DesignerHeader(FormControlClass Class, string Name, int Line, int NameColumn, int? EndLine)

Parameters

Class FormControlClass

The designer's class: VB.Form, VB.MDIForm, VB.UserControl or VB.PropertyPage for a Visual Basic 6.0 designer; MSForms.UserForm, with MSFormsDesignerClassId, for a VBA UserForm; the class identifier alone for another ActiveX designer.

Name string

The name the line gives the form (Form1).

Line int

The zero-based line of the Begin line in the module's text, its lines split at each line feed.

NameColumn int

The zero-based column of Line where Name starts.

EndLine int?

The zero-based line of the End that closes the designer block, or null when the text never closes it. Each control's Begin line opens a block that its own End closes. The lines of a property group (BeginProperty to EndProperty) are the property's: a Begin or an End among them opens or closes no block. The platform reads no designer from a block that is never closed.

Properties

Class

The designer's class: VB.Form, VB.MDIForm, VB.UserControl or VB.PropertyPage for a Visual Basic 6.0 designer; MSForms.UserForm, with MSFormsDesignerClassId, for a VBA UserForm; the class identifier alone for another ActiveX designer.

public FormControlClass Class { get; init; }

Property Value

FormControlClass

EndLine

The zero-based line of the End that closes the designer block, or null when the text never closes it. Each control's Begin line opens a block that its own End closes. The lines of a property group (BeginProperty to EndProperty) are the property's: a Begin or an End among them opens or closes no block. The platform reads no designer from a block that is never closed.

public int? EndLine { get; init; }

Property Value

int?

Line

The zero-based line of the Begin line in the module's text, its lines split at each line feed.

public int Line { get; init; }

Property Value

int

Name

The name the line gives the form (Form1).

public string Name { get; init; }

Property Value

string

NameColumn

The zero-based column of Line where Name starts.

public int NameColumn { get; init; }

Property Value

int