ZForge.Controls.ExplorerBar.TaskPaneInfo.SetDefaultEmptyValues C# (CSharp) Method

SetDefaultEmptyValues() public method

Forces the use of default empty values
public SetDefaultEmptyValues ( ) : void
return void
        public void SetDefaultEmptyValues()
        {
            // set background values
            this.gradientStartColor = Color.Empty;
            this.gradientEndColor = Color.Empty;
            this.direction = LinearGradientMode.Vertical;

            // set padding values
            this.padding.Left = 0;
            this.padding.Top = 0;
            this.padding.Right = 0;
            this.padding.Bottom = 0;

            // images
            this.backImage = null;
            this.stretchMode = ImageStretchMode.Tile;
            this.watermark = null;
            this.watermarkAlignment = ContentAlignment.BottomCenter;
        }