ZForge.Controls.ExplorerBar.TaskPaneInfo.SetDefaultValues C# (CSharp) Méthode

SetDefaultValues() public méthode

Forces the use of default values
public SetDefaultValues ( ) : void
Résultat void
        public void SetDefaultValues()
        {
            // set background values
            this.gradientStartColor = SystemColors.Window;
            this.gradientEndColor = SystemColors.Window;
            this.direction = LinearGradientMode.Vertical;

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

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