[]
        
(Showing Draft Content)

C1.Win.C1InputPanel.C1InputPanel.GetItemBounds

GetItemBounds Method

GetItemBounds(InputComponent)

Returns the size and location of the given InputComponent in pixels relative to the parent C1InputPanel control.

Declaration
public Rectangle GetItemBounds(InputComponent inputComponent)
Parameters
Type Name Description
InputComponent inputComponent
Returns
Type Description
Rectangle

GetItemBounds(InputComponent, InputElementType)

Returns the size and location of the given InputComponent in pixels relative to the parent C1InputPanel control.

Declaration
public Rectangle GetItemBounds(InputComponent inputComponent, InputElementType elementType)
Parameters
Type Name Description
InputComponent inputComponent

The input component whose bounds are calculated.

InputElementType elementType

The type of the specific element in the input component.

Returns
Type Description
Rectangle