Rock.Web.UI.Controls.EmailBox.OnInit C# (CSharp) Method

OnInit() protected method

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( System e ) : void
e System An object that contains the event data.
return void
        protected override void OnInit( System.EventArgs e )
        {
            base.OnInit( e );

            var globalAttributes = GlobalAttributesCache.Read();
            if (globalAttributes != null)
            {
                this.PrependText = "<i class='fa fa-envelope'></i>";
            }
        }