TextField Members
Include Protected Members
Include Inherited Members
Renders a field on a form page (not a list view page) as a single-line text box.
The TextField type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TextField | Initializes a new instance of the TextField class. |
Top
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. (Inherited from 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. (Inherited from BaseFieldControl.) | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
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 | (Overrides BaseTextField.CssClass.) | |
CustomAlternateTemplate | Gets or sets a custom alternate template. (Inherited from TemplateBasedControl.) | |
CustomTemplate | Gets or sets a custom template. (Inherited from TemplateBasedControl.) | |
DefaultAlternateTemplateName | Gets the name of the default alternate rendering template. (Inherited from TemplateBasedControl.) | |
DefaultTemplateName | Gets the name of the default rendering template for TextField controls. (Overrides TemplateBasedControl.DefaultTemplateName.) | |
DesignMode | (Inherited from Control.) | |
DisableInputFieldLabel | Gets a value indicating whether the default input field label should be used on the New or Edit forms. (Inherited from BaseFieldControl.) | |
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. (Inherited from BaseFieldControl.) | |
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. (Inherited from BaseFieldControl.) | |
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. (Inherited from BaseFieldControl.) | |
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.) | |
HandleTextField | Gets or sets a value that indicates whether Microsoft SharePoint Foundation renders a text area Web control. (Inherited from BaseTextField.) | |
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. (Inherited from BaseFieldControl.) | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
InDesign | (Inherited from SPControl.) | |
InputFieldLabel | Gets or sets the label of BaseFieldControl in design mode. (Inherited from BaseFieldControl.) | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsFieldValueCached | Gets a value indicating whether the value of the field is cached. (Inherited from BaseFieldControl.) | |
IsInInlineEditMode | (Inherited from BaseFieldControl.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsValid | Gets or sets a value that indicates whether the current value of the Value property is valid. (Inherited from BaseFieldControl.) | |
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. (Inherited from BaseFieldControl.) | |
ItemId | Gets or sets the ID for the list item. (Inherited from FormComponent.) | |
ItemIdAsString | (Inherited from FormComponent.) | |
List | Gets the value that represents the list of form components. (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. (Inherited from BaseFieldControl.) | |
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. (Inherited from BaseFieldControl.) | |
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.) | |
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. (Inherited from BaseFieldControl.) | |
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.) | |
Text | Gets or sets the text content of the child textBox field of the BaseTextField control. (Inherited from BaseTextField.) | |
UniqueID | (Inherited from Control.) | |
Value | Gets or sets the value in the UI of the BaseTextField control. (Inherited from BaseTextField.) | |
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.) | |
Visible | Gets or sets a value indicating whether the field is visible or hidden. (Inherited from BaseFieldControl.) | |
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
Methods
Name | Description | |
---|---|---|
AddedControl | (Inherited from Control.) | |
AddParsedSubObject | (Inherited from Control.) | |
ApplyStyleSheetSkin | (Inherited from Control.) | |
BuildProfileTree | (Inherited from Control.) | |
ClearChildControlState | (Inherited from Control.) | |
ClearChildState | (Inherited from Control.) | |
ClearChildViewState | (Inherited from Control.) | |
CreateChildControls | Creates the child text box control of the TextField control. (Overrides BaseTextField.CreateChildControls().) | |
CreateControlCollection | (Inherited from Control.) | |
DataBind() | (Inherited from Control.) | |
DataBind(Boolean) | (Inherited from Control.) | |
DataBindChildren | (Inherited from Control.) | |
Dispose | (Inherited from Control.) | |
EnsureChildControls | (Inherited from Control.) | |
EnsureID | (Inherited from Control.) | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
FindControl(String) | (Inherited from Control.) | |
FindControl(String, Int32) | (Inherited from Control.) | |
Focus | Gives focus to the child TextBox control in the textBox property. (Inherited from BaseTextField.) | |
GetDesignModeState | (Inherited from Control.) | |
GetDesignTimeHtml | Returns the control as design-time HTML for editing in Web site development tools such as Microsoft Office FrontPage 2003. (Inherited from SPControl.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
HasControls | (Inherited from Control.) | |
HasEvents | (Inherited from Control.) | |
IsLiteralContent | (Inherited from Control.) | |
LoadControlState | (Inherited from Control.) | |
LoadViewState | (Inherited from Control.) | |
MapPathSecure | (Inherited from Control.) | |
MemberwiseClone | (Inherited from Object.) | |
OnBubbleEvent | (Inherited from Control.) | |
OnDataBinding | (Inherited from Control.) | |
OnInit | Represents the method that handles the Init event of a FieldMetadata object. (Inherited from BaseFieldControl.) | |
OnLoad | Represents the method that handles the Load event of a FieldMetadata object. (Inherited from BaseFieldControl.) | |
OnPreRender | (Inherited from BaseTextField.) | |
OnUnload | (Inherited from Control.) | |
OpenFile | (Inherited from Control.) | |
RaiseBubbleEvent | (Inherited from Control.) | |
RegisterFieldControl | Registers the BaseFieldControl by adding it to the collections of validators and field controls. (Inherited from BaseFieldControl.) | |
RemovedControl | (Inherited from Control.) | |
Render | Renders the field on the page. (Inherited from BaseFieldControl.) | |
RenderChildren | (Inherited from Control.) | |
RenderControl(HtmlTextWriter) | (Inherited from Control.) | |
RenderControl(HtmlTextWriter, ControlAdapter) | (Inherited from Control.) | |
RenderFieldForDisplay | Renders the field for noneditable display. (Inherited from BaseFieldControl.) | |
RenderFieldForInput | When overridden in derived class, renders the field in a child control that lets its value be changed. (Inherited from BaseFieldControl.) | |
RenderValidationMessage | Renders an error message about the invalidity of the value in the Value property. (Inherited from BaseFieldControl.) | |
ResolveAdapter | (Inherited from Control.) | |
ResolveClientUrl | (Inherited from Control.) | |
ResolveUrl | (Inherited from Control.) | |
SaveControlState | (Inherited from Control.) | |
SaveViewState | (Inherited from Control.) | |
SetDesignModeState | (Inherited from Control.) | |
SetRenderMethodDelegate | (Inherited from Control.) | |
ToString | (Inherited from Object.) | |
TrackViewState | (Inherited from Control.) | |
UpdateFieldValueInItem | Updates the underlying value of the field to the latest user-set value. (Inherited from BaseFieldControl.) | |
Validate | When overridden in a derived class, verifies that the value of Value meets all restrictions on field content such as length, format, and data type. (Inherited from BaseFieldControl.) |
Top
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) | |
Disposed | (Inherited from Control.) | |
Init | (Inherited from Control.) | |
Load | (Inherited from Control.) | |
PreRender | (Inherited from Control.) | |
Unload | (Inherited from Control.) |
Top
Fields
Name | Description | |
---|---|---|
textBox | Provides the inner TextBox control that actually renders the BaseTextField object. (Inherited from BaseTextField.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IParserAccessor.AddParsedSubObject | (Inherited from Control.) | |
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) | |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) | |
IExpressionsAccessor.Expressions | (Inherited from Control.) | |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) | |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) | |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) | |
IDesignerEventAccessor.OnDesignerLoad | (Inherited from SPControl.) | |
IDesignerEventAccessor.OnDesignerPreRender | (Inherited from SPControl.) | |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) | |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) | |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top