FieldTemplateFactory Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a field template.
public ref class FieldTemplateFactory : System::Web::DynamicData::IFieldTemplateFactory
public class FieldTemplateFactory : System.Web.DynamicData.IFieldTemplateFactory
type FieldTemplateFactory = class
interface IFieldTemplateFactory
Public Class FieldTemplateFactory
Implements IFieldTemplateFactory
- Inheritance
-
FieldTemplateFactory
- Implements
Remarks
By default, this class implements the IFieldTemplateFactory interface, and uses the UserControl class to create field templates.
Constructors
FieldTemplateFactory() |
Initializes an instance of the FieldTemplateFactory class. |
Properties
Model |
Gets or sets the MetaModel that is associated with the FieldTemplateFactory class. |
TemplateFolderVirtualPath |
Gets or sets the folder in which to create a field template. |
Methods
BuildVirtualPath(String, MetaColumn, DataBoundControlMode) |
Builds the virtual path to a field template based on the field template name and the mode. |
CreateFieldTemplate(MetaColumn, DataBoundControlMode, String) |
Creates an instance of a field template using the MetaColumn class, the DataBoundControlMode class and UIHint property. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetFieldTemplateVirtualPath(MetaColumn, DataBoundControlMode, String) |
Determines the virtual path of a field template. |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
Initialize(MetaModel) |
Associates a MetaModel with a FieldTemplateFactory. |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
PreprocessMode(MetaColumn, DataBoundControlMode) |
Changes the mode of the data column. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기