Table of Contents

Interface IFormDesignerDataSource

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

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

public interface IFormDesignerDataSource

Properties

AssemblyResources

When implemented by a class, gets the list of form designer's assembly resources.

DesignedClassFullName

When implemented by a class, gets the fully qualified name of designed class.

DesignedComponentAssembly

When implemented by a class, gets a IDesignedComponentAssemblyProvider used to retrieve data from specified assembly.

DesignerFileName

When implemented by a class, gets name of the file with designer generated code.

IsModified

When implemented by a class, represents a value indicating whether designer content has been modified since last save.

UserCodeFileName

When implemented by a class, 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[])

When implemented by a class, inserts specified text fragments into the user code.

OpenDesignerStream(StreamAccessMode)

When implemented by a class, opens designer stream with specified access mode.

OpenResourceStream(StreamAccessMode, CultureInfo)

When implemented by a class, opens resource stream with specified access mode.

OpenUserCodeStreamForReading()

When implemented by a class, opens user code stream with default access mode.

ReplaceTextInDesignerCode(TextReplacementOperation[])

When implemented by a class, replaces specified text fragments within the user code.

Events

ResourceCultureAdded

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