Condividi tramite


ExtensionMethods.IsClipped Method

Determines whether the element's text is clipped by a parent ScrollViewer (the element can still be scrolled to view the clipped text)

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsClipped ( _
    element As UIElement _
) As Boolean
public static bool IsClipped(
    this UIElement element
)
[ExtensionAttribute]
public:
static bool IsClipped(
    UIElement^ element
)
static member IsClipped : 
        element:UIElement -> bool
public static function IsClipped(
    element : UIElement
) : boolean

Parameters

  • element
    Type: UIElement

    The element.

Return Value

Type: Boolean
True if the text is clipped, otherwise false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type UIElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ExtensionMethods Class

Microsoft.VisualStudio.PlatformUI Namespace