C# Class JTSImageViewController.JTSImageViewController

Inheritance: UIViewController, IUIScrollViewDelegate, IUIGestureRecognizerDelegate
Afficher le fichier Open project: Amplify-Social/JTSImageViewControllerCSharp Class Usage Examples

Private Properties

Свойство Type Description
AccessibilityHintZoomedIn string
AccessibilityHintZoomedOut string
AddMotionEffectsToSnapshotView void
AlphaForBackgroundDimmingOverlay float
AppropriateAngularResistanceForView float
AppropriateDensityForView float
BackgroundColorForImageView UIColor
BlurredSnapshotFromParentmostViewController UIView
CancelCurrentImageDrag void
CancelProgressTimer void
ContentInsetForScrollView UIEdgeInsets
DefaultAccessibilityHintForScrollView string
DefaultAccessibilityLabelForScrollView string
DidZoom void
DismissByCleaningUpAfterImageWasFlickedOffscreen void
DismissByCollapsingImageBackToOriginalPosition void
DismissByExpandingAltTextToOffscreenPosition void
DismissByExpandingImageToOffscreenPosition void
DismissImageWithFlick void
DraggingEnded void
GestureRecognizer bool
GestureRecognizer bool
ImageDoubleTapped void
ImageLongPressed void
ImageSingleTapped void
ImageViewIsOffscreen bool
ProgressTimerFired void
RemoveMotionEffectsFromSnapshotView void
ResizedFrameForAutorotatingImageView System.Drawing.RectangleF
SetupImageAndDownloadIfNecessary Task
SetupImageModeGestureRecognizers void
ShowAltTextFromViewController void
ShowImageViewerByExpandingFromOriginalPositionFromViewController void
ShowImageViewerByScalingDownFromOffscreenPositionWithViewController void
SnapshotFromParentmostViewController UIView
StartImageDragging void
StartProgressTimer void
TargetDismissalPoint System.Drawing.PointF
TextViewSingleTapped void
UpdateDimmingViewForCurrentZoomScale void
UpdateInterfaceWithImage void
UpdateLayoutsForCurrentOrientation void
UpdateScrollViewAndImageViewForCurrentMetrics void
VerticallyCenterTextInTextView void
ViewDidLoadForAltTextMode void
ViewDidLoadForImageMode void
ViewForZoomingInScrollView MonoTouch.UIKit.UIView
ZoomingEnded void
dismissingPanGestureRecognizerPanned void

Méthodes publiques

Méthode Description
Dismiss ( bool animated ) : void
DownloadThenShowFromViewController ( UIViewController viewController, JTSImageViewControllerTransition transition, UIView fromView, CancellationToken cancel, int progressHeight, UIActivityIndicatorView spinner = null ) : Task
GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
JTSImageViewController ( JTSImageInfo imageInfo, JTSImageViewControllerMode imageMode, JTSImageViewControllerBackgroundStyle backgroundStyle ) : System
PreferredStatusBarStyle ( ) : UIStatusBarStyle
PrefersStatusBarHidden ( ) : bool
ShouldAutorotate ( ) : bool
ShowFromViewController ( UIViewController viewController, JTSImageViewControllerTransition transition ) : void
ViewDidAppear ( bool animated ) : void
ViewDidLayoutSubviews ( ) : void
ViewDidLoad ( ) : void
ViewWillAppear ( bool animated ) : void
WillAnimateRotation ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void

Private Methods

Méthode Description
AccessibilityHintZoomedIn ( ) : string
AccessibilityHintZoomedOut ( ) : string
AddMotionEffectsToSnapshotView ( ) : void
AlphaForBackgroundDimmingOverlay ( ) : float
AppropriateAngularResistanceForView ( UIView view ) : float
AppropriateDensityForView ( UIView view ) : float
BackgroundColorForImageView ( ) : UIColor
BlurredSnapshotFromParentmostViewController ( UIViewController viewController ) : UIView
CancelCurrentImageDrag ( bool animated ) : void
CancelProgressTimer ( ) : void
ContentInsetForScrollView ( float targetZoomScale ) : UIEdgeInsets
DefaultAccessibilityHintForScrollView ( bool zoomedIn ) : string
DefaultAccessibilityLabelForScrollView ( ) : string
DidZoom ( MonoTouch scrollView ) : void
DismissByCleaningUpAfterImageWasFlickedOffscreen ( ) : void
DismissByCollapsingImageBackToOriginalPosition ( ) : void
DismissByExpandingAltTextToOffscreenPosition ( ) : void
DismissByExpandingImageToOffscreenPosition ( ) : void
DismissImageWithFlick ( PointF velocity ) : void
DraggingEnded ( MonoTouch scrollView, bool willDecelerate ) : void
GestureRecognizer ( UIGestureRecognizer gestureRecognizer, UIGestureRecognizer otherGestureRecognizer ) : bool
GestureRecognizer ( UIGestureRecognizer gestureRecognizer, UITouch touch ) : bool
ImageDoubleTapped ( UITapGestureRecognizer sender ) : void
ImageLongPressed ( UILongPressGestureRecognizer sender ) : void
ImageSingleTapped ( NSObject sender ) : void
ImageViewIsOffscreen ( ) : bool
ProgressTimerFired ( NSTimer timer ) : void
RemoveMotionEffectsFromSnapshotView ( ) : void
ResizedFrameForAutorotatingImageView ( SizeF imageSize ) : RectangleF
SetupImageAndDownloadIfNecessary ( JTSImageInfo imageInfo ) : Task
SetupImageModeGestureRecognizers ( ) : void
ShowAltTextFromViewController ( UIViewController viewController ) : void
ShowImageViewerByExpandingFromOriginalPositionFromViewController ( UIViewController viewController ) : void
ShowImageViewerByScalingDownFromOffscreenPositionWithViewController ( UIViewController viewController ) : void
SnapshotFromParentmostViewController ( UIViewController viewController ) : UIView
StartImageDragging ( PointF panGestureLocationInView, UIOffset translationOffset ) : void
StartProgressTimer ( ) : void
TargetDismissalPoint ( PointF startingCenter, PointF velocity ) : PointF
TextViewSingleTapped ( NSObject sender ) : void
UpdateDimmingViewForCurrentZoomScale ( bool animated ) : void
UpdateInterfaceWithImage ( UIImage image ) : void
UpdateLayoutsForCurrentOrientation ( ) : void
UpdateScrollViewAndImageViewForCurrentMetrics ( ) : void
VerticallyCenterTextInTextView ( ) : void
ViewDidLoadForAltTextMode ( ) : void
ViewDidLoadForImageMode ( ) : void
ViewForZoomingInScrollView ( MonoTouch scrollView ) : MonoTouch.UIKit.UIView
ZoomingEnded ( MonoTouch scrollView, MonoTouch withView, float atScale ) : void
dismissingPanGestureRecognizerPanned ( UIPanGestureRecognizer panner ) : void

Method Details

Dismiss() public méthode

public Dismiss ( bool animated ) : void
animated bool
Résultat void

DownloadThenShowFromViewController() public méthode

public DownloadThenShowFromViewController ( UIViewController viewController, JTSImageViewControllerTransition transition, UIView fromView, CancellationToken cancel, int progressHeight, UIActivityIndicatorView spinner = null ) : Task
viewController UIViewController
transition JTSImageViewControllerTransition
fromView UIView
cancel System.Threading.CancellationToken
progressHeight int
spinner UIActivityIndicatorView
Résultat Task

GetSupportedInterfaceOrientations() public méthode

public GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
Résultat UIInterfaceOrientationMask

JTSImageViewController() public méthode

public JTSImageViewController ( JTSImageInfo imageInfo, JTSImageViewControllerMode imageMode, JTSImageViewControllerBackgroundStyle backgroundStyle ) : System
imageInfo JTSImageInfo
imageMode JTSImageViewControllerMode
backgroundStyle JTSImageViewControllerBackgroundStyle
Résultat System

PreferredStatusBarStyle() public méthode

public PreferredStatusBarStyle ( ) : UIStatusBarStyle
Résultat UIStatusBarStyle

PrefersStatusBarHidden() public méthode

public PrefersStatusBarHidden ( ) : bool
Résultat bool

ShouldAutorotate() public méthode

public ShouldAutorotate ( ) : bool
Résultat bool

ShowFromViewController() public méthode

public ShowFromViewController ( UIViewController viewController, JTSImageViewControllerTransition transition ) : void
viewController UIViewController
transition JTSImageViewControllerTransition
Résultat void

ViewDidAppear() public méthode

public ViewDidAppear ( bool animated ) : void
animated bool
Résultat void

ViewDidLayoutSubviews() public méthode

public ViewDidLayoutSubviews ( ) : void
Résultat void

ViewDidLoad() public méthode

public ViewDidLoad ( ) : void
Résultat void

ViewWillAppear() public méthode

public ViewWillAppear ( bool animated ) : void
animated bool
Résultat void

WillAnimateRotation() public méthode

public WillAnimateRotation ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
Résultat void

WillRotate() public méthode

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
Résultat void