Share via


AssetUrlSelector.CssTextBox Property

Gets or sets the cascading style sheet (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;

See Also

Reference

AssetUrlSelector Class

AssetUrlSelector Members

Microsoft.SharePoint.Publishing.WebControls Namespace

AssetUrlSelector