Show / Hide Table of Contents

Class ViewModePickerDialogFragment

Inheritance
System.Object
ViewModePickerDialogFragment
Namespace: pdftron.PDF.Dialog
Assembly: PDFViewCtrlTools.dll
Syntax
public class ViewModePickerDialogFragment : DialogFragment

Constructors

ViewModePickerDialogFragment()

Declaration
public ViewModePickerDialogFragment()

ViewModePickerDialogFragment(IntPtr, JniHandleOwnership)

Declaration
protected ViewModePickerDialogFragment(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Fields

BundleAction

Declaration
protected const string BundleAction = "action"
Field Value
Type Description
System.String

BundleCurrentColorMode

Declaration
protected const string BundleCurrentColorMode = "current_color_mode"
Field Value
Type Description
System.String

BundleCurrentReflowMode

Declaration
protected const string BundleCurrentReflowMode = "current_reflow_mode"
Field Value
Type Description
System.String

BundleCurrentReflowTextSize

Declaration
protected const string BundleCurrentReflowTextSize = "current_reflow_text_size"
Field Value
Type Description
System.String

BundleCurrentRtlMode

Declaration
protected const string BundleCurrentRtlMode = "current_rtl_mode"
Field Value
Type Description
System.String

BundleCurrentViewMode

Declaration
protected const string BundleCurrentViewMode = "current_view_mode"
Field Value
Type Description
System.String

BundleHiddenItems

Declaration
protected const string BundleHiddenItems = "disabled_view_mode_items"
Field Value
Type Description
System.String

ControlTypeNone

Declaration
protected const int ControlTypeNone = 3
Field Value
Type Description
System.Int32

ControlTypeRadio

Declaration
protected const int ControlTypeRadio = 0
Field Value
Type Description
System.Int32

ControlTypeSize

Declaration
protected const int ControlTypeSize = 2
Field Value
Type Description
System.Int32

ControlTypeSwitch

Declaration
protected const int ControlTypeSwitch = 1
Field Value
Type Description
System.Int32

ItemIdBlank

Declaration
protected const int ItemIdBlank = 107
Field Value
Type Description
System.Int32

ItemIdColormode

Declaration
protected const int ItemIdColormode = 108
Field Value
Type Description
System.Int32

ItemIdContinuous

Declaration
protected const int ItemIdContinuous = 100
Field Value
Type Description
System.Int32

ItemIdCustomColorMode

Declaration
protected const int ItemIdCustomColorMode = 112
Field Value
Type Description
System.Int32

ItemIdFacingCover

Declaration
protected const int ItemIdFacingCover = 110
Field Value
Type Description
System.Int32

ItemIdReadingMode

Declaration
protected const int ItemIdReadingMode = 111
Field Value
Type Description
System.Int32

ItemIdReflow

Declaration
protected const int ItemIdReflow = 109
Field Value
Type Description
System.Int32

ItemIdRotation

Declaration
protected const int ItemIdRotation = 103
Field Value
Type Description
System.Int32

ItemIdRtlmode

Declaration
protected const int ItemIdRtlmode = 106
Field Value
Type Description
System.Int32

ItemIdTextSize

Declaration
protected const int ItemIdTextSize = 101
Field Value
Type Description
System.Int32

ItemIdUsercrop

Declaration
protected const int ItemIdUsercrop = 105
Field Value
Type Description
System.Int32

KeyItemControl

Declaration
protected const string KeyItemControl = "item_view_mode_picker_list_control"
Field Value
Type Description
System.String

KeyItemIcon

Declaration
protected const string KeyItemIcon = "item_view_mode_picker_list_icon"
Field Value
Type Description
System.String

KeyItemId

Declaration
protected const string KeyItemId = "item_view_mode_picker_list_id"
Field Value
Type Description
System.String

KeyItemText

Declaration
protected const string KeyItemText = "item_view_mode_picker_list_text"
Field Value
Type Description
System.String

Properties

JniPeerMembers

Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type Description
Java.Interop.JniPeerMembers

MColorMode

Declaration
protected int MColorMode { get; set; }
Property Value
Type Description
System.Int32

MColorModeLayout

Declaration
protected RelativeLayout MColorModeLayout { get; set; }
Property Value
Type Description
Android.Widget.RelativeLayout

MCurrentViewMode

Declaration
protected PDFViewCtrl.PagePresentationModes MCurrentViewMode { get; set; }
Property Value
Type Description
pdftronprivate.PDF.PDFViewCtrl.PagePresentationModes

MHiddenItems

Declaration
protected IList MHiddenItems { get; set; }
Property Value
Type Description
System.Collections.IList

MIsReflowMode

Declaration
protected bool MIsReflowMode { get; set; }
Property Value
Type Description
System.Boolean

MIsRtlMode

Declaration
protected bool MIsRtlMode { get; set; }
Property Value
Type Description
System.Boolean

MListAdapter

Declaration
protected ViewModePickerDialogFragment.SeparatedListAdapter MListAdapter { get; set; }
Property Value
Type Description
ViewModePickerDialogFragment.SeparatedListAdapter

MOptionListView

Declaration
protected ListView MOptionListView { get; set; }
Property Value
Type Description
Android.Widget.ListView

MReflowTextSize

Declaration
protected int MReflowTextSize { get; set; }
Property Value
Type Description
System.Int32

MViewModeLayout

Declaration
protected LinearLayout MViewModeLayout { get; set; }
Property Value
Type Description
Android.Widget.LinearLayout

MViewModeOptionsList

Declaration
protected IList MViewModeOptionsList { get; set; }
Property Value
Type Description
System.Collections.IList

MViewModePickerDialogListener

Declaration
protected ViewModePickerDialogFragment.IViewModePickerDialogFragmentListener MViewModePickerDialogListener { get; set; }
Property Value
Type Description
ViewModePickerDialogFragment.IViewModePickerDialogFragmentListener

ReflowZoomInOut

Declaration
public ViewModePickerDialogFragment.ViewModePickerDialogFragmentOnReflowZoomInOutHandler ReflowZoomInOut { get; set; }
Property Value
Type Description
ViewModePickerDialogFragment.ViewModePickerDialogFragmentOnReflowZoomInOutHandler

ThresholdClass

Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type Description
System.IntPtr

ThresholdType

Declaration
protected override Type ThresholdType { get; }
Property Value
Type Description
System.Type

Methods

CreateItem(Int32, Drawable, String, Int32)

Declaration
protected virtual IDictionary<string, Object> CreateItem(int id, Drawable drawable, string title, int controlType)
Parameters
Type Name Description
System.Int32 id
Android.Graphics.Drawables.Drawable drawable
System.String title
System.Int32 controlType
Returns
Type Description
System.Collections.Generic.IDictionary<System.String, Java.Lang.Object>

NewInstance(PDFViewCtrl.PagePresentationModes, Boolean, Boolean, Int32)

Declaration
public static ViewModePickerDialogFragment NewInstance(PDFViewCtrl.PagePresentationModes currentViewMode, bool isRTLMode, bool isReflowMode, int reflowTextSize)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl.PagePresentationModes currentViewMode
System.Boolean isRTLMode
System.Boolean isReflowMode
System.Int32 reflowTextSize
Returns
Type Description
ViewModePickerDialogFragment

NewInstance(PDFViewCtrl.PagePresentationModes, Boolean, Boolean, Int32, IList<Integer>)

Declaration
public static ViewModePickerDialogFragment NewInstance(PDFViewCtrl.PagePresentationModes currentViewMode, bool isRTLMode, bool isReflowMode, int reflowTextSize, IList<Integer> hiddenItems)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl.PagePresentationModes currentViewMode
System.Boolean isRTLMode
System.Boolean isReflowMode
System.Int32 reflowTextSize
System.Collections.Generic.IList<Java.Lang.Integer> hiddenItems
Returns
Type Description
ViewModePickerDialogFragment

NewInstance(PDFViewCtrl.PagePresentationModes, Int32, Boolean, Boolean, Int32, IList<Integer>)

Declaration
public static ViewModePickerDialogFragment NewInstance(PDFViewCtrl.PagePresentationModes currentViewMode, int colorMode, bool isRTLMode, bool isReflowMode, int reflowTextSize, IList<Integer> hiddenItems)
Parameters
Type Name Description
pdftronprivate.PDF.PDFViewCtrl.PagePresentationModes currentViewMode
System.Int32 colorMode
System.Boolean isRTLMode
System.Boolean isReflowMode
System.Int32 reflowTextSize
System.Collections.Generic.IList<Java.Lang.Integer> hiddenItems
Returns
Type Description
ViewModePickerDialogFragment

PopulateOptionsList()

Declaration
protected virtual void PopulateOptionsList()

SetActiveColorMode(Int32)

Declaration
protected virtual void SetActiveColorMode(int id)
Parameters
Type Name Description
System.Int32 id

SetListViewHeightBasedOnChildren(ListView, LinearLayout)

Declaration
public virtual void SetListViewHeightBasedOnChildren(ListView listView, LinearLayout layout)
Parameters
Type Name Description
Android.Widget.ListView listView
Android.Widget.LinearLayout layout

SetViewModePickerDialogFragmentListener(ViewModePickerDialogFragment.IViewModePickerDialogFragmentListener)

Declaration
public virtual void SetViewModePickerDialogFragmentListener(ViewModePickerDialogFragment.IViewModePickerDialogFragmentListener listener)
Parameters
Type Name Description
ViewModePickerDialogFragment.IViewModePickerDialogFragmentListener listener

Events

CheckTabConversionAndAlert

Declaration
public event EventHandler<ViewModePickerDialogFragment.CheckTabConversionAndAlertEventArgs> CheckTabConversionAndAlert
Event Type
Type Description
System.EventHandler<ViewModePickerDialogFragment.CheckTabConversionAndAlertEventArgs>

CustomColorModeSelected

Declaration
public event EventHandler<ViewModePickerDialogFragment.CustomColorModeSelectedEventArgs> CustomColorModeSelected
Event Type
Type Description
System.EventHandler<ViewModePickerDialogFragment.CustomColorModeSelectedEventArgs>

ViewModeColorSelected

Declaration
public event EventHandler<ViewModePickerDialogFragment.ViewModeColorSelectedEventArgs> ViewModeColorSelected
Event Type
Type Description
System.EventHandler<ViewModePickerDialogFragment.ViewModeColorSelectedEventArgs>

ViewModePickerDialogFragmentDismiss

Declaration
public event EventHandler ViewModePickerDialogFragmentDismiss
Event Type
Type Description
System.EventHandler

ViewModeSelected

Declaration
public event EventHandler<ViewModePickerDialogFragment.ViewModeSelectedEventArgs> ViewModeSelected
Event Type
Type Description
System.EventHandler<ViewModePickerDialogFragment.ViewModeSelectedEventArgs>
In This Article
Back to top Generated by DocFX