| StatusBarTextProviderCanExtend Method |
This is implemented to determine if the component can be extended
with the extra properties.
Namespace: SandcastleBuilder.Utils.ControlsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public bool CanExtend(
Object extendee
)
Public Function CanExtend (
extendee As Object
) As Boolean
public:
virtual bool CanExtend(
Object^ extendee
) sealed
abstract CanExtend :
extendee : Object -> bool
override CanExtend :
extendee : Object -> bool
Parameters
- extendee
- Type: SystemObject
The object to check
Return Value
Type:
BooleanTrue if it can be extended, false if not
Implements
IExtenderProviderCanExtend(Object)Remarks MenuItem components and everything derived
from
ToolStripItem (.NET 2.0) and
Control are extended with the
StatusBarText
and
ShowAsBlank properties with the following exceptions:
Form,
Label,
PictureBox,
ProgressBar,
ScrollBar,
Splitter,
StatusBar,
ToolBar,
ToolStrip (.NET 2.0) and controls derived
from them. The
Form contain controls and the other controls
cannot receive the focus needed to display the text so there is no
point in giving them status bar text. The exception to the above
rule is
LinkLabel which can receive the focus and thus can
be extended.
ToolStripItem components are only supported
when built for use with .NET 2.0.
See Also