Table of Contents

Class FormDesignerDataSource

Namespace
Alternet.FormDesigner.WinForms
Assembly
Alternet.FormDesigner.v9.dll

Provides properties and methods for a Form Designer control's data source.

public class FormDesignerDataSource : IFormDesignerDataSource
Inheritance
FormDesignerDataSource
Implements

Constructors

FormDesignerDataSource(string, string, string, IEnumerable<DesignerAssemblyResources>, string)

Initializes a new instance of the FormDesignerDataSource class with specified settings.

Properties

AssemblyResources

Gets the list of form designer's assembly resources.

DefaultResourceFileName

Gets name of the resource file.

DesignedClassFullName

Gets the fully qualified name of designed class.

DesignedComponentAssembly
DesignerFileName

Gets name of the file with designer generated code.

IsModified

Represents a value indicating whether designer content has been modified since last save.

ResourceFileName

Gets name of the resource file.

UserCodeFileName

Gets name of the file with user code.

Methods

GetResourceFileName(CultureInfo)

When implemented by a class, gets resource file specific to the culture.

InsertTextIntoUserCode(TextInsertionOperation[])

Inserts specified text fragments into the user code.

OpenDesignerStream(StreamAccessMode)

Opens designer stream with specified access mode.

OpenResourceStream(StreamAccessMode, CultureInfo)

Opens resource stream with specified access mode.

OpenUserCodeStreamForReading()

Opens user code stream with default access mode.

ReplaceTextInDesignerCode(TextReplacementOperation[])

Replaces specified text fragments within the user code.

Events

ResourceCultureAdded

When implemented by a class, occurs when IFormDesignerDataSource requests culture-specific designer resources.