BaseFieldControl properties
The BaseFieldControl type exposes the following members.
Properties
Name | Description | |
---|---|---|
Adapter | (Inherited from Control.) | |
AllowFirstFocus | Gets a value indicating whether the page, on loading, can set the initial focus to the BaseFieldControl. | |
AlternateTemplate | Gets or sets the template that renders the control in contexts, such as a particular form, in which rendering the control with the Template property would be inappropriate. (Inherited from TemplateBasedControl.) | |
AlternateTemplateName | Gets or sets the name of a rendering template that can be used in contexts in which the template named by the TemplateName property would be inappropriate. (Inherited from TemplateBasedControl.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
BindingContainer | (Inherited from Control.) | |
CanCacheRenderedFieldValue | Gets or sets a value indicating whether the value of BaseFieldControl may be locally cached. | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | (Inherited from Control.) | |
ClientIDMode | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
ComponentRequiresPostback | BaseFieldControl is base class of server form controls for various SPFields These controls render editing cotrols and require postback if no client template exists (Overrides FieldMetadata.ComponentRequiresPostback.) | |
Context | (Inherited from Control.) | |
ControlMode | Gets or sets the rendering mode for the form (display, edit, or new). (Inherited from FormComponent.) | |
Controls | Gets an object that contains the child controls of the TemplateBasedControl object. (Inherited from TemplateBasedControl.) | |
ControlTemplate | Gets the template that renders the control in the current context. (Inherited from TemplateBasedControl.) | |
CssClass | Gets or sets the styling class in a cascading style sheet (CSS) file that controls the font family, font size, and possibly other aspects of how the text of the field is rendered. | |
CustomAlternateTemplate | Gets or sets a custom alternate template. (Inherited from TemplateBasedControl.) | |
CustomTemplate | Gets or sets a custom template. (Inherited from TemplateBasedControl.) | |
DataItemContainer | (Inherited from Control.) | |
DataKeysContainer | (Inherited from Control.) | |
DefaultAlternateTemplateName | Gets the name of the default alternate rendering template. (Inherited from TemplateBasedControl.) | |
DefaultTemplateName | Gets the name of the default rendering template. (Inherited from TemplateBasedControl.) | |
DesignMode | (Inherited from Control.) | |
DisableInputFieldLabel | Gets a value indicating whether the default input field label should be used on the New or Edit forms. | |
DisplaySize | Gets or sets the maximum number of characters to display when rendering the field. (Inherited from FieldMetadata.) | |
DisplayTemplate | Gets or sets an object that can be used to control the rendering of the BaseFieldControl object in display mode; that is, when it is not on a New or Edit form. | |
DisplayTemplateName | Gets or sets the name of the template that can be used to control the rendering of the BaseFieldControl object in display mode; that is, when it is not on a New or Edit form. | |
EnableInputFieldLabels | (Inherited from FormComponent.) | |
EnableTheming | (Inherited from Control.) | |
EnableViewState | (Inherited from Control.) | |
ErrorMessage | Gets or sets a message indicating that, and possibly why, the current value of Value is invalid. | |
Events | (Inherited from Control.) | |
Field | Gets the underlying SPField object that is rendered by the FieldMetadata object. (Inherited from FieldMetadata.) | |
FieldName | Gets or sets a name for the field. (Inherited from FieldMetadata.) | |
Fields | Gets the collection of fields. (Inherited from FormComponent.) | |
HasChildViewState | (Inherited from Control.) | |
HasPostBackEditData | Gets a value that indicates whether the data of BaseFieldControl might have changed as a result of the last postback. | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
InDesign | (Inherited from SPControl.) | |
InputFieldLabel | Gets or sets the label of BaseFieldControl in design mode. | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsClientRenderedForm | Determines whether this FormField control is being added to a CSR (Hybrid) Form (Inherited from FormComponent.) | |
IsEditMode | (Inherited from FormComponent.) | |
IsFieldValueCached | Gets a value indicating whether the value of the field is cached. | |
IsInDesignTimeMode | Returns true if the control's current context is in design time mode. | |
IsInInlineEditMode | returns true if the control is hosted by webparts (like xsltlistwebpart) in inline edit mode. | |
IsTrackingViewState | (Inherited from Control.) | |
IsValid | Gets or sets a value that indicates whether the current value of the Value property is valid. | |
IsViewStateEnabled | (Inherited from Control.) | |
Item | Gets the value that represents the item. (Inherited from FormComponent.) | |
ItemContext | Gets or sets the context of the item. (Inherited from FormComponent.) | |
ItemFieldValue | Gets or sets the value of the SPField that has this BaseFieldControl as its FieldRenderingControl property. | |
ItemId | Gets or sets the ID for the list item. (Inherited from FormComponent.) | |
ItemIdAsString | Gets or sets the ID, as a string, for the list item. (Inherited from FormComponent.) | |
List | Gets the value that represents the list of form components. (Inherited from FormComponent.) | |
ListFormWP | (Inherited from FormComponent.) | |
ListId | Gets or sets the ID of the list. (Inherited from FormComponent.) | |
ListItem | Gets the value that represents the list item, based on the ListItemID property. (Inherited from FormComponent.) | |
ListItemFieldValue | Reserved for internal use. | |
LoadViewStateByID | (Inherited from Control.) | |
NamingContainer | (Inherited from Control.) | |
Page | (Inherited from Control.) | |
PageUri | Gets or sets the Uniform Resource Identifier (URI) of the page that contains the control. (Inherited from SPControl.) | |
Parent | (Inherited from Control.) | |
PreviousControlMode | Gets a value that identifies the control mode of the BaseFieldControl object before the last postback. | |
RecurrenceID | Gets or sets the string value that represents the recurrence ID. (Inherited from FormComponent.) | |
RedirectUrl | Gets or sets the string value that represents the redirect URL. (Inherited from FormComponent.) | |
RegisterAs | (Inherited from SPControl.) | |
RenderContext | Gets or sets the Microsoft SharePoint Foundation context in which the control is rendered. (Inherited from TemplateBasedControl.) | |
RenderingCompatibility | (Inherited from Control.) | |
RibbonCommand | (Inherited from FormComponent.) | |
RibbonContextualGroupCommand | (Inherited from FormComponent.) | |
RibbonGroupCommand | (Inherited from FormComponent.) | |
RibbonTabCommand | (Inherited from FormComponent.) | |
Site | (Inherited from Control.) | |
SkinID | (Inherited from Control.) | |
TabIndex | Gets or sets the position of the BaseFieldControl in the tab order of controls on the page. | |
Template | Gets or sets the template that renders the control. (Inherited from TemplateBasedControl.) | |
TemplateContainer | Gets the container control that instantiates the content template. (Inherited from TemplateBasedControl.) | |
TemplateControl | (Inherited from Control.) | |
TemplateName | Gets or sets the name of the control's rendering template. (Inherited from TemplateBasedControl.) | |
TemplateOverride | Gets or sets a value indicating whether the template referred to by the Template property or the one referred to by the AlternateTemplate property should be instantiated by the CreateChildControls method. (Inherited from TemplateBasedControl.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
UniqueID | (Inherited from Control.) | |
Value | When overridden in a derived class, gets or sets the value of the field in the UI. | |
Version | Gets or sets the a value that indicates whether the UI of the parent Web site is using the UI of the current version of the SharePoint Foundation or the previous version. (Inherited from TemplateBasedControl.) | |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
ViewStateMode | (Inherited from Control.) | |
Visible | Gets or sets a value indicating whether the field is visible or hidden. (Overrides FieldMetadata.Visible.) | |
Web | Gets the site of the control's rendering context; which is the value of the SPContext.Web property of the object held by the TemplateBasedControlRenderContext() property. (Inherited from TemplateBasedControl.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) | |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) | |
IExpressionsAccessor.Expressions | (Inherited from Control.) | |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) | |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) | |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top