GUI_SPECIFY_CONTROL_TEMPLATE_TYPE(ToolstripButtonTemplate, GuiSelectableButton)
public
:
using
=
templates
::
GuiToolstripButtonTemplate
;
private
:
templates
::
GuiToolstripButtonTemplate
* =
nullptr
;
void
();
void
(
bool
);
protected
:
void
()
override
{
BeforeControlTemplateUninstalled_
();
::
BeforeControlTemplateUninstalled
(); }
void
(
bool
)
override
{
::
AfterControlTemplateInstalled
(
);
AfterControlTemplateInstalled_
(
); }
void
(
templates
::
*
)
override
{
auto
=
dynamic_cast
<
templates
::
GuiToolstripButtonTemplate
*>(
);
do
{
if
(!(
ct
))
throw
(
L"The assigned control template is not vl::presentation::templates::Gui"
L"ToolstripButtonTemplate"
L"."
);}
while
(
0
);
=
ct
;
::
CheckAndStoreControlTemplate
(
); }
public
:
templates
::
GuiToolstripButtonTemplate
* (
bool
) {
if
(
) {
EnsureControlTemplateExists
(); }
return
; }
private
: