RedPlum.MBProgressHUD.Initialize C# (CSharp) Метод

Initialize() приватный Метод

private Initialize ( ) : void
Результат void
		void Initialize ()
		{
			this.Mode = MBProgressHUDMode.Indeterminate;
			
			// Add label
			Label = new UILabel (this.Bounds);
			
			// Add details label
			DetailsLabel = new UILabel (this.Bounds);
			
			this.TitleText = null;
			this.DetailText = null;
			this.Opacity = 0.9f;
			this.TitleFont = UIFont.BoldSystemFontOfSize (LABELFONTSIZE);
			this.DetailFont = UIFont.BoldSystemFontOfSize (LABELDETAILSFONTSIZE);
			this.XOffset = 0.0f;
			this.YOffset = 0.0f;
			this.GraceTime = 0.0f;
			this.MinShowTime = 0.0f;
			
			this.AutoresizingMask = UIViewAutoresizing.FlexibleTopMargin | UIViewAutoresizing.FlexibleBottomMargin | UIViewAutoresizing.FlexibleLeftMargin | UIViewAutoresizing.FlexibleRightMargin;
			
			// Transparent background
			this.Opaque = false;
			this.BackgroundColor = UIColor.Clear;
			
			// Make invisible for now
			this.Alpha = 0.0f;
			
			TaskInProgress = false;
		}