Method GetRightSideElement
GetRightSideElement()
Retrieves the element displayed on the right side based on the current configuration.
protected virtual object? GetRightSideElement()
Returns
- object
An object representing the right-side element. Returns null if no element is configured or if the configuration is unrecognized. Possible return values include:
- null if SpeedButton.RightSideElementKind is None.
- A string representing the shortcut text if SpeedButton.RightSideElementKind is KeyGesture.
- The value of RightSideText if SpeedButton.RightSideElementKind is Text.
Remarks
Override this method in a derived class to customize the behavior for determining the right-side element.