IToolPaneControl.Text Property

Gets the value of the AuthorizationFilter property from the corresponding Web part when the WebPartToolPart is loaded, or sets the value when the ApplyChanges() method is called.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Property Text As String
    Get
    Set
'Usage
Dim instance As IToolPaneControl
Dim value As String

value = instance.Text

instance.Text = value
string Text { get; set; }

Property Value

Type: System.String
Returns the value of the AuthorizationFilter property from the corresponding Web Part.

Remarks

This property acts on the WebPartToolPart object, which in turn contains the Web control that is represented by the IToolPaneControl interface.

The AuthorizationFilter property is used to assign a string value to a custom Web Part before adding it to a Web page.

See Also

Reference

IToolPaneControl Interface

IToolPaneControl Members

Microsoft.SharePoint.WebPartPages Namespace

ToolPane

SPWebPartManager

WebPart