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 cascading style sheets (CSS) class for the Asset URL text box.
Namespace: Microsoft.SharePoint.Publishing.WebControls
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Public Property CssTextBox As String
Get
Set
'Usage
Dim instance As AssetUrlSelector
Dim value As String
value = instance.CssTextBox
instance.CssTextBox = value
public string CssTextBox { get; set; }
Property Value
Type: System.String
The CSS class for the Asset URL text box.
Remarks
This property has no effect if the AssetUrlTextBoxVisible property is set to false.
Examples
// These values control the appearance of the text box
// and button for the control.
private const string SampleCssTextBox = "sample-textbox-css";
// Set values for the appearance of the text box and
// button for the control
assetSelector.CssTextBox = SampleCssTextBox;
' These values control the appearance of the text box
' and button for the control.
Private Const SampleCssTextBox As String = "sample-textbox-css"
' Set values for the appearance of the text box and
' button for the control
assetSelector.CssTextBox = SampleCssTextBox