Szerkesztés

Megosztás a következőn keresztül:


TemplatedEditableDesignerRegion Class

Definition

Defines an editable region of content within the design-time markup for the associated control.

public ref class TemplatedEditableDesignerRegion : System::Web::UI::Design::EditableDesignerRegion
public class TemplatedEditableDesignerRegion : System.Web.UI.Design.EditableDesignerRegion
type TemplatedEditableDesignerRegion = class
    inherit EditableDesignerRegion
Public Class TemplatedEditableDesignerRegion
Inherits EditableDesignerRegion
Inheritance
Derived

Constructors

TemplatedEditableDesignerRegion(TemplateDefinition)

Initializes a new instance of the TemplatedEditableDesignerRegion class using the provided template definition.

Properties

Content

Gets or sets the HTML markup for the content of the region.

(Inherited from EditableDesignerRegion)
Description

Gets or sets the description for a designer region.

(Inherited from DesignerRegion)
Designer

Gets the associated designer component.

(Inherited from DesignerObject)
DisplayName

Gets or sets the friendly display name for a designer region.

(Inherited from DesignerRegion)
EnsureSize

Gets or sets a value indicating whether the region size is to be explicitly set on the designer region by the design host.

(Inherited from DesignerRegion)
Highlight

Gets or sets a value indicating whether to highlight the designer region on the design surface.

(Inherited from DesignerRegion)
IsSingleInstanceTemplate

Gets or sets whether the template occurs only once per instance of the containing control, such as a header template, or can appear many times according to available data, such as an item template.

Name

Gets the name of the object.

(Inherited from DesignerObject)
Properties

Gets the object's properties.

(Inherited from DesignerObject)
Selectable

Gets or sets a value indicating whether the designer region can be selected by the user on the design surface.

(Inherited from DesignerRegion)
Selected

Gets or sets a value indicating whether the designer region is currently selected on the design surface.

(Inherited from DesignerRegion)
ServerControlsOnly

Gets or sets a value indicating whether the region can accept only Web server controls.

(Inherited from EditableDesignerRegion)
SupportsDataBinding

Gets or sets a value that indicates whether the template can be bound to a data source.

TemplateDefinition

Gets a TemplateDefinition object describing the template that is referenced by the region.

UserData

Gets or sets optional user data to associate with the designer region.

(Inherited from DesignerRegion)

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBounds()

Retrieves the size of the designer region on the design surface.

(Inherited from DesignerRegion)
GetChildViewRendering(Control)

Returns a ViewRendering object containing the design-time HTML markup for the given control.

(Inherited from EditableDesignerRegion)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetService(Type)

Gets a service from the design host, as identified by the provided type.

(Inherited from DesignerObject)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IServiceProvider.GetService(Type)

For a description of this member, see GetService(Type).

(Inherited from DesignerObject)

Extension Methods

GetKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

GetKeyedServices(IServiceProvider, Type, Object)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetKeyedServices<T>(IServiceProvider, Object)

Get an enumeration of services of type T from the IServiceProvider.

GetRequiredKeyedService(IServiceProvider, Type, Object)

Get service of type serviceType from the IServiceProvider.

GetRequiredKeyedService<T>(IServiceProvider, Object)

Get service of type T from the IServiceProvider.

CreateAsyncScope(IServiceProvider)

Creates a new AsyncServiceScope that can be used to resolve scoped services.

CreateScope(IServiceProvider)

Creates a new IServiceScope that can be used to resolve scoped services.

GetRequiredService(IServiceProvider, Type)

Get service of type serviceType from the IServiceProvider.

GetRequiredService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetService<T>(IServiceProvider)

Get service of type T from the IServiceProvider.

GetServices(IServiceProvider, Type)

Get an enumeration of services of type serviceType from the IServiceProvider.

GetServices<T>(IServiceProvider)

Get an enumeration of services of type T from the IServiceProvider.

GetFakeLogCollector(IServiceProvider)

Gets the object that collects log records sent to the fake logger.

GetFakeRedactionCollector(IServiceProvider)

Gets the fake redactor collector instance from the dependency injection container.

Applies to

See also