Skip to main content

DataMatrixDesigner

Version: 1.0

DataMatrixDesigner

DataMatrixDesigner​

Represents data matrix designer class.

public class DataMatrixDesigner : ControlDesigner, IComponentInitializer, IDesigner, IDesignerFilter, IDisposable, ITreeDesigner
Public Class DataMatrixDesigner
Inherits ControlDesigner
Implements IComponentInitializer, IDesigner, IDesignerFilter, IDisposable, ITreeDesigner

Inheritance: Object → ComponentDesigner → HtmlControlDesigner → ControlDesigner → DataMatrixDesigner

Implements: IComponentInitializer, IDesigner, IDesignerFilter, IDisposable, ITreeDesigner

Licensing​

This class is a DynamicBarcode Creator feature. The following license is required for non-evaluation usage:

  • DynamicBarcode Creator for .NET

Constructors​

DataMatrixDesigner()​

Creates the new instance of data matrix designer class.

public DataMatrixDesigner()
Public Sub New ()

Properties​

ActionLists​

Gets the action list collection for the control designer. (Inherited from ControlDesigner)

public DesignerActionListCollection ActionLists { get; }
Public Property ActionLists As DesignerActionListCollection

Property Value​

DesignerActionListCollection

AllowResize​

Gets a value indicating whether the control can be resized in the design-time environment. (Inherited from ControlDesigner)

public bool AllowResize { get; }
Public Property AllowResize As Boolean

Property Value​

Boolean

AssociatedComponents​

Gets the collection of components associated with the component managed by the designer. (Inherited from ComponentDesigner)

public ICollection AssociatedComponents { get; }
Public Property AssociatedComponents As ICollection

Property Value​

ICollection

AutoFormats​

Gets the collection of predefined automatic formatting schemes to display in the Auto Format dialog box for the associated control at design time. (Inherited from ControlDesigner)

public DesignerAutoFormatCollection AutoFormats { get; }
Public Property AutoFormats As DesignerAutoFormatCollection

Property Value​

DesignerAutoFormatCollection

Behavior​

Gets or sets the DHTML behavior that is associated with the designer. (Inherited from HtmlControlDesigner)

public IHtmlControlDesignerBehavior Behavior { get; set; }
Public Property Behavior As IHtmlControlDesignerBehavior

Property Value​

IHtmlControlDesignerBehavior

Component​

Gets the component this designer is designing. (Inherited from ComponentDesigner)

public IComponent Component { get; }
Public Property Component As IComponent

Property Value​

IComponent

DataBindings​

Gets the data bindings collection for the current control. (Inherited from HtmlControlDesigner)

public DataBindingCollection DataBindings { get; }
Public Property DataBindings As DataBindingCollection

Property Value​

DataBindingCollection

DesignTimeHtmlRequiresLoadComplete​

Gets a value indicating whether the design host must finish loading before the GetDesignTimeHtml method can be called. (Inherited from ControlDesigner)

public bool DesignTimeHtmlRequiresLoadComplete { get; }
Public Property DesignTimeHtmlRequiresLoadComplete As Boolean

Property Value​

Boolean

Expressions​

Gets the expression bindings for the current control at design time. (Inherited from HtmlControlDesigner)

public ExpressionBindingCollection Expressions { get; }
Public Property Expressions As ExpressionBindingCollection

Property Value​

ExpressionBindingCollection

ID​

Gets or sets the ID string for the control. (Inherited from ControlDesigner)

public string ID { get; set; }
Public Property ID As String

Property Value​

String

IsDirty​

Gets or sets a value indicating whether the Web server control has been marked as changed. (Inherited from ControlDesigner)

public bool IsDirty { get; set; }
Public Property IsDirty As Boolean

Property Value​

Boolean

ReadOnly​

Gets or sets a value indicating whether the properties of the control are read-only at design time. (Inherited from ControlDesigner)

public bool ReadOnly { get; set; }
Public Property ReadOnly As Boolean

Property Value​

Boolean

ShouldCodeSerialize​

Gets or sets a value indicating whether to create a field declaration for the control in the code-behind file for the current design document during serialization. (Inherited from HtmlControlDesigner)

public bool ShouldCodeSerialize { get; set; }
Public Property ShouldCodeSerialize As Boolean

Property Value​

Boolean

TemplateGroups​

Gets a collection of template groups, each containing one or more template definitions. (Inherited from ControlDesigner)

public TemplateGroupCollection TemplateGroups { get; }
Public Property TemplateGroups As TemplateGroupCollection

Property Value​

TemplateGroupCollection

Verbs​

Gets the design-time verbs supported by the component that is associated with the designer. (Inherited from ComponentDesigner)

public DesignerVerbCollection Verbs { get; }
Public Property Verbs As DesignerVerbCollection

Property Value​

DesignerVerbCollection

ViewControl​

Gets or sets a Web server control that can be used for previewing the design-time HTML markup. (Inherited from ControlDesigner)

public Control ViewControl { get; set; }
Public Property ViewControl As Control

Property Value​

Control

ViewControlCreated​

Gets or sets a value indicating whether a View control has been created for display on the design surface. (Inherited from ControlDesigner)

public bool ViewControlCreated { get; set; }
Public Property ViewControlCreated As Boolean

Property Value​

Boolean

Methods​

Dispose()​

Releases all resources used by the ComponentDesigner . (Inherited from ComponentDesigner)

public void Dispose()
Sub Dispose()

DoDefaultAction()​

Creates a method signature in the source code file for the default event on the component and navigates the user's cursor to that location. (Inherited from ComponentDesigner)

public void DoDefaultAction()
Sub DoDefaultAction()

Exceptions​

An attempt to check out a file that is checked into a source code management program failed.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetBounds()​

Retrieves the coordinates of the rectangle representing the boundaries for the control as displayed on the design surface. (Inherited from ControlDesigner)

public Rectangle GetBounds()
Function GetBounds() As Rectangle

Returns​

A Rectangle object representing the boundaries for the control on the design surface relative to the control, not the document.

GetDesignTimeHtml()​

Gets the design time html.

public string GetDesignTimeHtml()
Function GetDesignTimeHtml() As String

Returns​

The design time html.

GetDesignTimeHtml(DesignerRegionCollection)​

Retrieves the HTML markup to display the control and populates the collection with the current control designer regions. (Inherited from ControlDesigner)

public string GetDesignTimeHtml(DesignerRegionCollection regions)
Function GetDesignTimeHtml(regions As DesignerRegionCollection) As String

Parameters​

A collection of control designer regions for the associated control.

Returns​

The design-time HTML markup for the associated control, including all control designer regions.

GetEditableDesignerRegionContent(EditableDesignerRegion)​

Returns the content for an editable region of the design-time view of the associated control. (Inherited from ControlDesigner)

public string GetEditableDesignerRegionContent(EditableDesignerRegion region)
Function GetEditableDesignerRegionContent(region As EditableDesignerRegion) As String

Parameters​

The EditableDesignerRegion object to get content for.

Returns​

The persisted content for the region, if the control designer supports editable regions; otherwise, an empty string ("").

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetPersistenceContent()​

Retrieves the persistable inner HTML markup of the control at design time. (Inherited from ControlDesigner)

public string GetPersistenceContent()
Function GetPersistenceContent() As String

Returns​

A string representing the persistable inner HTML markup for the associated control. The default is null.

GetPersistInnerHtml()​

Retrieves the persistable inner HTML markup of the control. (Inherited from ControlDesigner)

public string GetPersistInnerHtml()
Function GetPersistInnerHtml() As String

Returns​

The persistable inner HTML markup of the control.

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

GetViewRendering()​

Retrieves an object that contains the design-time markup for the content and regions of the associated control. (Inherited from ControlDesigner)

public ViewRendering GetViewRendering()
Function GetViewRendering() As ViewRendering

Returns​

A ViewRendering object.

Initialize(IComponent)​

Initializes the control designer and loads the specified component. (Inherited from ControlDesigner)

public void Initialize(IComponent component)
Sub Initialize(component As IComponent)

Parameters​

The control being designed.

InitializeExistingComponent(IDictionary)​

Reinitializes an existing component. (Inherited from ComponentDesigner)

public void InitializeExistingComponent(IDictionary defaultValues)
Sub InitializeExistingComponent(defaultValues As IDictionary)

Parameters​

A name/value dictionary of default values to apply to properties. May be null if no default values are specified.

InitializeNewComponent(IDictionary)​

Initializes a newly created component. (Inherited from ComponentDesigner)

public void InitializeNewComponent(IDictionary defaultValues)
Sub InitializeNewComponent(defaultValues As IDictionary)

Parameters​

A name/value dictionary of default values to apply to properties. May be null if no default values are specified.

InitializeNonDefault()​

Initializes the settings for an imported component that is already initialized to settings other than the defaults. (Inherited from ComponentDesigner)

public void InitializeNonDefault()
Sub InitializeNonDefault()

Invalidate()​

Invalidates the whole area of the control that is displayed on the design surface and signals the control designer to redraw the control. (Inherited from ControlDesigner)

public void Invalidate()
Sub Invalidate()

Invalidate(Rectangle)​

Invalidates the specified area of the control that is displayed on the design surface and signals the control designer to redraw the control. (Inherited from ControlDesigner)

public void Invalidate(Rectangle rectangle)
Sub Invalidate(rectangle As Rectangle)

Parameters​

A Rectangle object that represents the area to invalidate, relative to the upper-left corner of the control.

IsPropertyBound(String)​

Retrieves a value indicating whether the specified property on the associated control is data-bound. (Inherited from ControlDesigner)

public bool IsPropertyBound(string propName)
Function IsPropertyBound(propName As String) As Boolean

Parameters​

The property to test for data binding.

Returns​

true, if the property is data-bound; otherwise, false.

Localize(IDesignTimeResourceWriter)​

Uses the provided resource writer to persist the localizable properties of the associated control to a resource in the design host. (Inherited from ControlDesigner)

public void Localize(IDesignTimeResourceWriter resourceWriter)
Sub Localize(resourceWriter As IDesignTimeResourceWriter)

Parameters​

An object derived from the IDesignTimeResourceWriter object that is used to write resources into the design-time response stream.

OnAutoFormatApplied(DesignerAutoFormat)​

Called when a predefined, automatic formatting scheme has been applied to the associated control. (Inherited from ControlDesigner)

public void OnAutoFormatApplied(DesignerAutoFormat appliedAutoFormat)
Sub OnAutoFormatApplied(appliedAutoFormat As DesignerAutoFormat)

Parameters​

A DesignerAutoFormat object that defines a style.

OnComponentChanged(Object, ComponentChangedEventArgs)​

Called when the associated control changes. (Inherited from ControlDesigner)

public void OnComponentChanged(Object sender, ComponentChangedEventArgs ce)
Sub OnComponentChanged(sender As Object, ce As ComponentChangedEventArgs)

Parameters​

The source of the event.

A ComponentChangedEventArgs object that contains the event data.

OnComponentChanging(Object, ComponentChangingEventArgs)​

Represents the method that will handle the ComponentChanging event for the associated control. (Inherited from ControlDesigner)

public void OnComponentChanging(Object sender, ComponentChangingEventArgs ce)
Sub OnComponentChanging(sender As Object, ce As ComponentChangingEventArgs)

Parameters​

The object that is the source of the event.

A ComponentChangedEventArgs object that contains the event data.

OnSetComponentDefaults()​

Sets the default properties for the component. (Inherited from ComponentDesigner)

public void OnSetComponentDefaults()
Sub OnSetComponentDefaults()

OnSetParent()​

Provides a way to perform additional processing when the associated control is attached to a parent control. (Inherited from HtmlControlDesigner)

public void OnSetParent()
Sub OnSetParent()

RaiseResizeEvent()​

Raises the OnControlResize event. (Inherited from ControlDesigner)

public void RaiseResizeEvent()
Sub RaiseResizeEvent()

RegisterClone(Object, Object)​

Registers internal data in a cloned control. (Inherited from ControlDesigner)

public void RegisterClone(Object original, Object clone)
Sub RegisterClone(original As Object, clone As Object)

Parameters​

The control associated with the control designer.

The cloned copy of the associated control.

Exceptions​

is null.

-or- is null.

SetEditableDesignerRegionContent(EditableDesignerRegion, String)​

Specifies the content for an editable region of the control at design time. (Inherited from ControlDesigner)

public void SetEditableDesignerRegionContent(EditableDesignerRegion region, string content)
Sub SetEditableDesignerRegionContent(region As EditableDesignerRegion, content As String)

Parameters​

An editable design region contained within the control.

The content to assign for the editable design region.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

UpdateDesignTimeHtml()​

Refreshes the design-time HTML markup for the associated Web server control by calling the GetDesignTimeHtml method. (Inherited from ControlDesigner)

public void UpdateDesignTimeHtml()
Sub UpdateDesignTimeHtml()

See Also​

ceTe.DynamicBarcode.Creator.Web