C# Класс BigTed.ProgressHUD

Наследование: UIView
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
HudBackgroundColour UIColor
HudFont UIFont
HudForegroundColor UIColor
HudStatusShadowColor UIColor
HudTextAlignment UITextAlignment
HudToastBackgroundColor UIColor
Ring Ring

Private Properties

Свойство Тип Описание
CreateCirclePath UIBezierPath
CreateRingLayer CAShapeLayer
PointOnCircle global::System.Drawing.PointF
ProgressHUD CoreAnimation

Открытые методы

Метод Описание
CancelRingLayerAnimation ( ) : void
Dismiss ( ) : void
DismissWorker ( ) : void
Draw ( global::System.Drawing.RectangleF rect ) : void
IsLandscape ( UIInterfaceOrientation orientation ) : bool
IsPortrait ( UIInterfaceOrientation orientation ) : bool
MoveToPoint ( global::System.Drawing.PointF newCenter, float angle ) : void
PositionHUD ( NSNotification notification ) : void
ProgressHUD ( global::System.Drawing.RectangleF frame ) : CoreAnimation
RegisterNotifications ( ) : void
SetFadeoutTimer ( NSTimer newtimer ) : void
SetOSSpecificLookAndFeel ( ) : void
SetProgressTimer ( NSTimer newtimer ) : void
SetStatus ( string status ) : void
SetStatusWorker ( string status ) : void
Show ( string cancelCaption, Action cancelCallback, string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
Show ( string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
ShowContinuousProgress ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000, UIImage img = null ) : void
ShowContinuousProgressTest ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
ShowErrorWithStatus ( string status, double timeoutMs = 1000 ) : void
ShowImage ( UIImage image, string status, double timeoutMs = 1000 ) : void
ShowImageWorker ( UIImage image, string status, TimeSpan duration ) : void
ShowProgressWorker ( float progress = -1, string status = null, MaskType maskType = MaskType.None, bool textOnly = false, ToastPosition toastPosition = ToastPosition.Center, string cancelCaption = null, Action cancelCallback = null, double timeoutMs = 1000, bool showContinuousProgress = false, UIImage displayContinuousImage = null ) : void
ShowSuccessWithStatus ( string status, double timeoutMs = 1000 ) : void
ShowToast ( string status, MaskType maskType = MaskType.None, ToastPosition toastPosition = ToastPosition.Center, double timeoutMs = 1000 ) : void
StartDismissTimer ( TimeSpan duration ) : void
StartProgressTimer ( TimeSpan duration ) : void
StopProgressTimer ( ) : void
UnRegisterNotifications ( ) : void
UpdatePosition ( bool textOnly = false ) : void
UpdateProgress ( ) : void

Приватные методы

Метод Описание
CreateCirclePath ( global::System.Drawing.PointF center, float radius, int sampleCount ) : UIBezierPath
CreateRingLayer ( global::System.Drawing.PointF center, float radius, float lineWidth, UIColor color ) : CAShapeLayer
PointOnCircle ( global::System.Drawing.PointF center, float radius, float angleInDegrees ) : global::System.Drawing.PointF
ProgressHUD ( ) : CoreAnimation

Описание методов

CancelRingLayerAnimation() публичный Метод

public CancelRingLayerAnimation ( ) : void
Результат void

Dismiss() публичный Метод

public Dismiss ( ) : void
Результат void

DismissWorker() публичный Метод

public DismissWorker ( ) : void
Результат void

Draw() публичный Метод

public Draw ( global::System.Drawing.RectangleF rect ) : void
rect global::System.Drawing.RectangleF
Результат void

IsLandscape() публичный Метод

public IsLandscape ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
Результат bool

IsPortrait() публичный Метод

public IsPortrait ( UIInterfaceOrientation orientation ) : bool
orientation UIInterfaceOrientation
Результат bool

MoveToPoint() публичный Метод

public MoveToPoint ( global::System.Drawing.PointF newCenter, float angle ) : void
newCenter global::System.Drawing.PointF
angle float
Результат void

PositionHUD() публичный Метод

public PositionHUD ( NSNotification notification ) : void
notification NSNotification
Результат void

ProgressHUD() публичный Метод

public ProgressHUD ( global::System.Drawing.RectangleF frame ) : CoreAnimation
frame global::System.Drawing.RectangleF
Результат CoreAnimation

RegisterNotifications() публичный Метод

public RegisterNotifications ( ) : void
Результат void

SetFadeoutTimer() публичный Метод

public SetFadeoutTimer ( NSTimer newtimer ) : void
newtimer NSTimer
Результат void

SetOSSpecificLookAndFeel() публичный Метод

public SetOSSpecificLookAndFeel ( ) : void
Результат void

SetProgressTimer() публичный Метод

public SetProgressTimer ( NSTimer newtimer ) : void
newtimer NSTimer
Результат void

SetStatus() публичный Метод

public SetStatus ( string status ) : void
status string
Результат void

SetStatusWorker() публичный Метод

public SetStatusWorker ( string status ) : void
status string
Результат void

Show() публичный Метод

public Show ( string cancelCaption, Action cancelCallback, string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
cancelCaption string
cancelCallback Action
status string
progress float
maskType MaskType
timeoutMs double
Результат void

Show() публичный Метод

public Show ( string status = null, float progress = -1, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
status string
progress float
maskType MaskType
timeoutMs double
Результат void

ShowContinuousProgress() публичный Метод

public ShowContinuousProgress ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000, UIImage img = null ) : void
status string
maskType MaskType
timeoutMs double
img UIImage
Результат void

ShowContinuousProgressTest() публичный Метод

public ShowContinuousProgressTest ( string status = null, MaskType maskType = MaskType.None, double timeoutMs = 1000 ) : void
status string
maskType MaskType
timeoutMs double
Результат void

ShowErrorWithStatus() публичный Метод

public ShowErrorWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
Результат void

ShowImage() публичный Метод

public ShowImage ( UIImage image, string status, double timeoutMs = 1000 ) : void
image UIImage
status string
timeoutMs double
Результат void

ShowImageWorker() публичный Метод

public ShowImageWorker ( UIImage image, string status, TimeSpan duration ) : void
image UIImage
status string
duration TimeSpan
Результат void

ShowProgressWorker() публичный Метод

public ShowProgressWorker ( float progress = -1, string status = null, MaskType maskType = MaskType.None, bool textOnly = false, ToastPosition toastPosition = ToastPosition.Center, string cancelCaption = null, Action cancelCallback = null, double timeoutMs = 1000, bool showContinuousProgress = false, UIImage displayContinuousImage = null ) : void
progress float
status string
maskType MaskType
textOnly bool
toastPosition ToastPosition
cancelCaption string
cancelCallback Action
timeoutMs double
showContinuousProgress bool
displayContinuousImage UIImage
Результат void

ShowSuccessWithStatus() публичный Метод

public ShowSuccessWithStatus ( string status, double timeoutMs = 1000 ) : void
status string
timeoutMs double
Результат void

ShowToast() публичный Метод

public ShowToast ( string status, MaskType maskType = MaskType.None, ToastPosition toastPosition = ToastPosition.Center, double timeoutMs = 1000 ) : void
status string
maskType MaskType
toastPosition ToastPosition
timeoutMs double
Результат void

StartDismissTimer() публичный Метод

public StartDismissTimer ( TimeSpan duration ) : void
duration TimeSpan
Результат void

StartProgressTimer() публичный Метод

public StartProgressTimer ( TimeSpan duration ) : void
duration TimeSpan
Результат void

StopProgressTimer() публичный Метод

public StopProgressTimer ( ) : void
Результат void

UnRegisterNotifications() публичный Метод

public UnRegisterNotifications ( ) : void
Результат void

UpdatePosition() публичный Метод

public UpdatePosition ( bool textOnly = false ) : void
textOnly bool
Результат void

UpdateProgress() публичный Метод

public UpdateProgress ( ) : void
Результат void

Описание свойств

HudBackgroundColour публичное свойство

public UIColor HudBackgroundColour
Результат UIColor

HudFont публичное свойство

public UIFont HudFont
Результат UIFont

HudForegroundColor публичное свойство

public UIColor HudForegroundColor
Результат UIColor

HudStatusShadowColor публичное свойство

public UIColor HudStatusShadowColor
Результат UIColor

HudTextAlignment публичное свойство

public UITextAlignment HudTextAlignment
Результат UITextAlignment

HudToastBackgroundColor публичное свойство

public UIColor HudToastBackgroundColor
Результат UIColor

Ring публичное свойство

public Ring Ring
Результат Ring