示例#1
0
        void ReleaseDesignerOutlets()
        {
            if (ContainerView != null)
            {
                ContainerView.Dispose();
                ContainerView = null;
            }

            if (DescriptionLabel != null)
            {
                DescriptionLabel.Dispose();
                DescriptionLabel = null;
            }

            if (InputDisplayButon != null)
            {
                InputDisplayButon.Dispose();
                InputDisplayButon = null;
            }

            if (InputDisplayLabel != null)
            {
                InputDisplayLabel.Dispose();
                InputDisplayLabel = null;
            }

            if (InputTextField != null)
            {
                InputTextField.Dispose();
                InputTextField = null;
            }
        }
示例#2
0
        protected override void ApplyTheme()
        {
            base.ApplyTheme();

            _accordion.ApplyTheme(Themes.Text.AccordionTheme);
            InputDisplayButon.ApplyTheme(Themes.Text.ButtonTheme);
        }