Rock.Web.UI.Controls.SlidingDateRangePicker.RenderControl C# (CSharp) Method

RenderControl() public method

Outputs server control content to a provided T:System.Web.UI.HtmlTextWriter object and stores tracing information about the control if tracing is enabled.
public RenderControl ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter The object that receives the control content.
return void
        public override void RenderControl( HtmlTextWriter writer )
        {
            if ( this.Visible )
            {
                writer.AddAttribute( "class", "js-slidingdaterange-container " + this.CssClass );
                writer.RenderBeginTag( "div" );

                RockControlHelper.RenderControl( this, writer, "slidingdaterange" );

                writer.RenderEndTag();
            }
        }