Xamarin.iOS Documentation | ComponentOne
C1.iOS.Viewer Assembly / C1.iOS.Viewer Namespace / FlexViewer Class / DocumentOpening Event


In This Topic
    DocumentOpening Event
    In This Topic
    Occurs when a document stream is being requested.
    Syntax
    'Declaration
     
    
    Public Event DocumentOpening As EventHandler(Of DocumentStreamEventArgs)
    'Usage
     
    
    Dim instance As FlexViewer
    Dim handler As EventHandler(Of DocumentStreamEventArgs)
     
    AddHandler instance.DocumentOpening, handler
    public event EventHandler<DocumentStreamEventArgs> DocumentOpening
    Event Data

    The event handler receives an argument of type DocumentStreamEventArgs containing data related to this event. The following DocumentStreamEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets the allowed document file types.  
    Gets or sets the stream of a document file.  
    See Also