BrightIdeasSoftware.ObjectListView.InitializeEmptyListMsgOverlay C# (CSharp) Method

InitializeEmptyListMsgOverlay() protected method

Create and configure the empty list msg overlay
protected InitializeEmptyListMsgOverlay ( ) : void
return void
        protected virtual void InitializeEmptyListMsgOverlay()
        {
            TextOverlay overlay = new TextOverlay();
            overlay.Alignment = System.Drawing.ContentAlignment.MiddleCenter;
            overlay.TextColor = SystemColors.ControlDarkDark;
            overlay.BackColor = Color.BlanchedAlmond;
            overlay.BorderColor = SystemColors.ControlDark;
            overlay.BorderWidth = 2.0f;
            this.EmptyListMsgOverlay = overlay;
        }
ObjectListView