Class AnnotStyleDialogFragment
Inheritance
System.Object
AnnotStyleDialogFragment
Implements
AndroidX.ViewPager.Widget.ViewPager.IOnPageChangeListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
Syntax
public class AnnotStyleDialogFragment : BaseBottomDialogFragment, AnnotStyleView.IOnPresetSelectedListener, AnnotStyle.IAnnotStyleHolder
Constructors
AnnotStyleDialogFragment()
Declaration
public AnnotStyleDialogFragment()
AnnotStyleDialogFragment(IntPtr, JniHandleOwnership)
Declaration
protected AnnotStyleDialogFragment(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
ArgsKeyAnnotStyle
Declaration
protected const string ArgsKeyAnnotStyle = "annotStyle"
Field Value
Type |
Description |
System.String |
|
Declaration
protected const string ArgsKeyExtraAnnotStyles = "extraAnnotStyle"
Field Value
Type |
Description |
System.String |
|
ArgsKeyFontListFromAsset
Declaration
protected const string ArgsKeyFontListFromAsset = "fontListFromAsset"
Field Value
Type |
Description |
System.String |
|
ArgsKeyFontListFromStorage
Declaration
protected const string ArgsKeyFontListFromStorage = "fontListFromStorage"
Field Value
Type |
Description |
System.String |
|
ArgsKeyGroupAnnotTypes
Declaration
protected const string ArgsKeyGroupAnnotTypes = "group_annot_styles"
Field Value
Type |
Description |
System.String |
|
ArgsKeyInitialTabIndex
Declaration
protected const string ArgsKeyInitialTabIndex = "initialTabIndex"
Field Value
Type |
Description |
System.String |
|
ArgsKeyMoreAnnotTypes
Declaration
protected const string ArgsKeyMoreAnnotTypes = "more_tools"
Field Value
Type |
Description |
System.String |
|
ArgsKeyMoreAnnotTypesTabIndex
Declaration
protected const string ArgsKeyMoreAnnotTypesTabIndex = "more_tools_tab_index"
Field Value
Type |
Description |
System.String |
|
ArgsKeyPressureSensitive
Declaration
protected const string ArgsKeyPressureSensitive = "show_pressure_sensitive_preview"
Field Value
Type |
Description |
System.String |
|
ArgsKeyShowPreset
Declaration
protected const string ArgsKeyShowPreset = "show_preset"
Field Value
Type |
Description |
System.String |
|
ArgsKeyShowPreview
Declaration
protected const string ArgsKeyShowPreview = "show_preview"
Field Value
Type |
Description |
System.String |
|
ArgsKeyTabTitles
Declaration
protected const string ArgsKeyTabTitles = "tabTitles"
Field Value
Type |
Description |
System.String |
|
ArgsKeyWhiteListFont
Declaration
protected const string ArgsKeyWhiteListFont = "whiteListFont"
Field Value
Type |
Description |
System.String |
|
BorderStyle
Declaration
public const int BorderStyle = 0
Field Value
Type |
Description |
System.Int32 |
|
Color
Declaration
public const int Color = 3
Field Value
Type |
Description |
System.Int32 |
|
FillColor
Declaration
public const int FillColor = 1
Field Value
Type |
Description |
System.Int32 |
|
LineEndStyle
Declaration
public const int LineEndStyle = 3
Field Value
Type |
Description |
System.Int32 |
|
LineStartStyle
Declaration
public const int LineStartStyle = 2
Field Value
Type |
Description |
System.Int32 |
|
LineStyle
Declaration
public const int LineStyle = 1
Field Value
Type |
Description |
System.Int32 |
|
StrokeColor
Declaration
public const int StrokeColor = 0
Field Value
Type |
Description |
System.Int32 |
|
TextColor
Declaration
public const int TextColor = 2
Field Value
Type |
Description |
System.Int32 |
|
Properties
AnnotPreview
Declaration
public virtual AnnotationPropertyPreviewView AnnotPreview { get; }
Property Value
AnnotPreviews
Declaration
public virtual SparseArray AnnotPreviews { get; }
Property Value
Type |
Description |
Android.Util.SparseArray |
|
AnnotStyle
Declaration
public virtual AnnotStyle AnnotStyle { get; set; }
Property Value
AnnotStyles
Declaration
public virtual IList<AnnotStyle> AnnotStyles { get; }
Property Value
Type |
Description |
System.Collections.Generic.IList<AnnotStyle> |
|
ContentLayoutResource
Declaration
protected override int ContentLayoutResource { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
CurrentTabIndex
Declaration
public virtual int CurrentTabIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
FragmentTag
Declaration
protected override string FragmentTag { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Overrides
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
Methods
NewInstance()
Declaration
public static AnnotStyleDialogFragment NewInstance()
Returns
OnAnnotStyleLayoutUpdated()
Declaration
public virtual void OnAnnotStyleLayoutUpdated()
OnCreateDialogImpl(Context)
Declaration
protected override Dialog OnCreateDialogImpl(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
Android.App.Dialog |
|
Overrides
OnPageScrolled(Int32, Single, Int32)
Declaration
public virtual void OnPageScrolled(int position, float positionOffset, int positionOffsetPixels)
Parameters
Type |
Name |
Description |
System.Int32 |
position |
|
System.Single |
positionOffset |
|
System.Int32 |
positionOffsetPixels |
|
OnPageScrollStateChanged(Int32)
Declaration
public virtual void OnPageScrollStateChanged(int state)
Parameters
Type |
Name |
Description |
System.Int32 |
state |
|
OnPageSelected(Int32)
Declaration
public virtual void OnPageSelected(int position)
Parameters
Type |
Name |
Description |
System.Int32 |
position |
|
OnPresetDeselected(AnnotStyle)
Declaration
public virtual void OnPresetDeselected(AnnotStyle presetStyle)
Parameters
OnPresetSelected(AnnotStyle)
Declaration
public virtual void OnPresetSelected(AnnotStyle presetStyle)
Parameters
SaveAnnotStyles()
Declaration
public virtual void SaveAnnotStyles()
SetAnnotPreviewVisibility(Int32)
Declaration
public virtual void SetAnnotPreviewVisibility(int visibility)
Parameters
Type |
Name |
Description |
System.Int32 |
visibility |
|
SetAnnotStyle(Int32, AnnotStyle)
Declaration
public virtual void SetAnnotStyle(int tabIndex, AnnotStyle annotStyle)
Parameters
Type |
Name |
Description |
System.Int32 |
tabIndex |
|
AnnotStyle |
annotStyle |
|
SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty>)
Declaration
public virtual void SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty> annotStyleProperties)
Parameters
Type |
Name |
Description |
System.Collections.Generic.IDictionary<Java.Lang.Integer, AnnotStyleProperty> |
annotStyleProperties |
|
SetCanShowPressureSwitch(Boolean)
Declaration
public virtual void SetCanShowPressureSwitch(bool canShow)
Parameters
Type |
Name |
Description |
System.Boolean |
canShow |
|
SetCanShowPressureSwitch(Int32, Boolean)
Declaration
public virtual void SetCanShowPressureSwitch(int tabIndex, bool canShow)
Parameters
Type |
Name |
Description |
System.Int32 |
tabIndex |
|
System.Boolean |
canShow |
|
SetCanShowRichContentSwitch(Boolean)
Declaration
public virtual void SetCanShowRichContentSwitch(bool canShow)
Parameters
Type |
Name |
Description |
System.Boolean |
canShow |
|
SetCanShowRichContentSwitch(Int32, Boolean)
Declaration
public virtual void SetCanShowRichContentSwitch(int tabIndex, bool canShow)
Parameters
Type |
Name |
Description |
System.Int32 |
tabIndex |
|
System.Boolean |
canShow |
|
SetCanShowTextAlignment(Boolean)
Declaration
public virtual void SetCanShowTextAlignment(bool canShowTextAlignment)
Parameters
Type |
Name |
Description |
System.Boolean |
canShowTextAlignment |
|
SetOnAnnotStyleChangeListener(AnnotStyle.IOnAnnotStyleChangeListener)
Declaration
public virtual void SetOnAnnotStyleChangeListener(AnnotStyle.IOnAnnotStyleChangeListener listener)
Parameters
SetOnMoreAnnotTypesClickListener(AnnotStyleView.IOnMoreAnnotTypeClickedListener)
Declaration
public virtual void SetOnMoreAnnotTypesClickListener(AnnotStyleView.IOnMoreAnnotTypeClickedListener listener)
Parameters
Events
ChangeAnnotBorderStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotBorderStyleEventArgs> ChangeAnnotBorderStyle
Event Type
ChangeAnnotFillColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFillColorEventArgs> ChangeAnnotFillColor
Event Type
ChangeAnnotFont
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotFontEventArgs> ChangeAnnotFont
Event Type
ChangeAnnotIcon
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotIconEventArgs> ChangeAnnotIcon
Event Type
ChangeAnnotLineEndStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineEndStyleEventArgs> ChangeAnnotLineEndStyle
Event Type
ChangeAnnotLineStartStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStartStyleEventArgs> ChangeAnnotLineStartStyle
Event Type
ChangeAnnotLineStyle
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotLineStyleEventArgs> ChangeAnnotLineStyle
Event Type
ChangeAnnotOpacity
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotOpacityEventArgs> ChangeAnnotOpacity
Event Type
ChangeAnnotStrokeColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotStrokeColorEventArgs> ChangeAnnotStrokeColor
Event Type
ChangeAnnotTextColor
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextColorEventArgs> ChangeAnnotTextColor
Event Type
ChangeAnnotTextSize
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotTextSizeEventArgs> ChangeAnnotTextSize
Event Type
ChangeAnnotThickness
Declaration
public event EventHandler<AnnotStyle.ChangeAnnotThicknessEventArgs> ChangeAnnotThickness
Event Type
Declaration
public event EventHandler<AnnotStyle.ChangeDateFormatEventArgs> ChangeDateFormat
Event Type
ChangeOverlayText
Declaration
public event EventHandler<AnnotStyle.ChangeOverlayTextEventArgs> ChangeOverlayText
Event Type
ChangeRichContentEnabled
Declaration
public event EventHandler<AnnotStyle.ChangeRichContentEnabledEventArgs> ChangeRichContentEnabled
Event Type
ChangeRulerProperty
Declaration
public event EventHandler<AnnotStyle.ChangeRulerPropertyEventArgs> ChangeRulerProperty
Event Type
ChangeSnapping
Declaration
public event EventHandler<AnnotStyle.ChangeSnappingEventArgs> ChangeSnapping
Event Type
ChangeTextAlignment
Declaration
public event EventHandler<AnnotStyle.ChangeTextAlignmentEventArgs> ChangeTextAlignment
Event Type
MoreAnnotTypesClick
Declaration
public event EventHandler<AnnotStyleView.MoreAnnotTypeClickedEventArgs> MoreAnnotTypesClick
Event Type
Implements
AndroidX.ViewPager.Widget.ViewPager.IOnPageChangeListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable