C# Class JTSImageViewController.JTSImageViewController

Inheritance: UIViewController, IUIScrollViewDelegate, IUIGestureRecognizerDelegate
Show file Open project: Amplify-Social/JTSImageViewControllerCSharp Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public Dismiss ( bool animated ) : void
animated bool
return void

DownloadThenShowFromViewController() public method

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
return Task

GetSupportedInterfaceOrientations() public method

public GetSupportedInterfaceOrientations ( ) : UIInterfaceOrientationMask
return UIInterfaceOrientationMask

JTSImageViewController() public method

public JTSImageViewController ( JTSImageInfo imageInfo, JTSImageViewControllerMode imageMode, JTSImageViewControllerBackgroundStyle backgroundStyle ) : System
imageInfo JTSImageInfo
imageMode JTSImageViewControllerMode
backgroundStyle JTSImageViewControllerBackgroundStyle
return System

PreferredStatusBarStyle() public method

public PreferredStatusBarStyle ( ) : UIStatusBarStyle
return UIStatusBarStyle

PrefersStatusBarHidden() public method

public PrefersStatusBarHidden ( ) : bool
return bool

ShouldAutorotate() public method

public ShouldAutorotate ( ) : bool
return bool

ShowFromViewController() public method

public ShowFromViewController ( UIViewController viewController, JTSImageViewControllerTransition transition ) : void
viewController UIViewController
transition JTSImageViewControllerTransition
return void

ViewDidAppear() public method

public ViewDidAppear ( bool animated ) : void
animated bool
return void

ViewDidLayoutSubviews() public method

public ViewDidLayoutSubviews ( ) : void
return void

ViewDidLoad() public method

public ViewDidLoad ( ) : void
return void

ViewWillAppear() public method

public ViewWillAppear ( bool animated ) : void
animated bool
return void

WillAnimateRotation() public method

public WillAnimateRotation ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
return void

WillRotate() public method

public WillRotate ( UIInterfaceOrientation toInterfaceOrientation, double duration ) : void
toInterfaceOrientation UIInterfaceOrientation
duration double
return void