ZForge.Controls.ExplorerBar.ExpandoInfo.SetDefaultValues C# (CSharp) 메소드

SetDefaultValues() 공개 메소드

Forces the use of default values
public SetDefaultValues ( ) : void
리턴 void
        public void SetDefaultValues()
        {
            // set background color values
            this.specialBackColor = SystemColors.Window;
            this.normalBackColor = SystemColors.Window;

            // set border values
            this.specialBorder.Left = 1;
            this.specialBorder.Top = 0;
            this.specialBorder.Right = 1;
            this.specialBorder.Bottom = 1;

            this.specialBorderColor = SystemColors.Highlight;

            this.normalBorder.Left = 1;
            this.normalBorder.Top = 0;
            this.normalBorder.Right = 1;
            this.normalBorder.Bottom = 1;

            this.normalBorderColor = SystemColors.ActiveCaption;

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

            this.normalPadding.Left = 12;
            this.normalPadding.Top = 10;
            this.normalPadding.Right = 12;
            this.normalPadding.Bottom = 10;

            this.specialBackImage = null;
            this.normalBackImage = null;

            this.watermarkAlignment = ContentAlignment.BottomRight;
        }