Example #1
0
        ///////////////////////////////////////////////////////////////////////////
        // Functions to save UI settings into values

        private string SaveBulletImageUI()
        {
            string value = null;

            if ((listTypeCombo.SelectedIndex == IDX_TYPE_BULLETED) &&
                customBulletCheck.Checked)
            {
                if (customNoneOption.Checked)
                {
                    value = IMAGE_NONE_VALUE;
                }
                else
                {
                    value = StylePageUtil.CreateUrlProperty(customImageEdit.Text.Trim());
                }
            }
            if (value == null)
            {
                value = "";
            }

            return(value);
        }
        ///////////////////////////////////////////////////////////////////////////
        // Functions to retrieve UI settings into values

        private string SaveBehaviorUI()
        {
            return(StylePageUtil.CreateUrlProperty(behaviorEdit.Text.Trim()));
        }