Share via


AssetUrlSelector.CssTextBox property

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

See also

Reference

AssetUrlSelector class

AssetUrlSelector members

Microsoft.SharePoint.Publishing.WebControls namespace

AssetUrlSelector