xtd 0.2.0
Loading...
Searching...
No Matches

◆ apply() [11/24]

static toggle_button xtd::forms::toggle_buttons::apply ( bool  three_state,
xtd::forms::check_state  check_state,
const drawing::point location,
const drawing::size size 
)
static

Create a system-defined toggle_button that represent apply toggle_button with specified three_state, check_state, location, and size.

Parameters
three_statetrue if the toggle_button is able to display three check states; otherwise, false.
check_stateOne of the xtd::forms::check_state enumeration values.
locationThe toggle_button location in pixels.
sizeThe toggle_button size in pixels.
Returns
The created toggle_button.