Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
'Declaration
Public Overridable Property CssClass As String
Get
Set
'Usage
Dim instance As BaseFieldControl
Dim value As String
value = instance.CssClass
instance.CssClass = value
public virtual string CssClass { get; set; }
Type: System.String
A String that represents the name of the CSS class.
The default implementation sets CssClass to "ms-input". This is defined in a CSS file one of the subfolders under %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\15\TEMPLATE. If no customized themes have been created for the SharePoint deployment, the CSS file used is CORE.CSS in ...\TEMPLATE\LAYOUTS\1033\STYLES.