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