[]
        
(Showing Draft Content)

C1.Framework.ButtonElement.GetImageElement

GetImageElement Method

GetImageElement()

Returns reference to the ImageElement used to display image.

Declaration
public ImageElement GetImageElement()
Returns
Type Description
ImageElement

The reference to the ImageElement if it exists; Null otherwise.

GetImageElement(bool)

Returns reference to the ImageElement used to display image.

Declaration
public ImageElement GetImageElement(bool force)
Parameters
Type Name Description
bool force

If True and the ImageElement doesn't exist, this method will create it.

Returns
Type Description
ImageElement

The reference to the ImageElement if it exists; Null otherwise.