Seal.Model.OutputEmailDevice.UpdateEditorAttributes C# (CSharp) Method

UpdateEditorAttributes() protected method

protected UpdateEditorAttributes ( ) : void
return void
        protected override void UpdateEditorAttributes()
        {
            if (_dctd != null)
            {
                //Disable all properties
                foreach (var property in Properties) property.SetIsBrowsable(false);
                //Then enable
                GetProperty("Server").SetIsBrowsable(true);
                GetProperty("UserName").SetIsBrowsable(true);
                GetProperty("ClearPassword").SetIsBrowsable(true);
                GetProperty("Port").SetIsBrowsable(true);
                GetProperty("SenderEmail").SetIsBrowsable(true);
                GetProperty("ReplyTo").SetIsBrowsable(true);
                GetProperty("UseDefaultCredentials").SetIsBrowsable(true);
                GetProperty("DeliveryMethod").SetIsBrowsable(true);
                GetProperty("EnableSsl").SetIsBrowsable(true);
                GetProperty("Timeout").SetIsBrowsable(true);
                GetProperty("UsedForNotification").SetIsBrowsable(true);

                GetProperty("HelperTestEmail").SetIsBrowsable(true);
                GetProperty("TestEmailTo").SetIsBrowsable(true);
                GetProperty("Information").SetIsBrowsable(true);
                GetProperty("Error").SetIsBrowsable(true);

                TypeDescriptor.Refresh(this);
            }
        }