ToolPart.UseDefaultStyles Property

Gets or sets a value indicating whether the tool part uses the default themes and styles for its body.

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

Syntax

'Declaration
Public Property UseDefaultStyles As Boolean
    Get
    Set
'Usage
Dim instance As ToolPart
Dim value As Boolean

value = instance.UseDefaultStyles

instance.UseDefaultStyles = value
public bool UseDefaultStyles { get; set; }

Property Value

Type: System.Boolean
true if the tool part uses the default themes and styles for its body; otherwise, false.

See Also

Reference

ToolPart Class

ToolPart Members

Microsoft.SharePoint.WebPartPages Namespace