NevronOpenVision
Nevron.Nov.UI Namespace / NTopLevelWindow Class
Fields Properties Methods Events


In This Topic
    NTopLevelWindow Class Members
    In This Topic

    The following tables list the members exposed by NTopLevelWindow.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Fields
     NameDescription
    Public Fieldstatic (Shared in Visual Basic)Reference to the Activated event  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ActivateOnOpen property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the MimicActiveOwner property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ActivateOwnerOnClose property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the AllowClose property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the AllowMaximize property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the AllowMinimize property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the AllowXResize property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the AllowYResize property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Closed event  
    Public Fieldstatic (Shared in Visual Basic)Reference to the CloseOnEscape property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Closing event  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Deactivated event  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IsActive property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IsClosing property  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Reference to the MimicActive property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IsMaximized property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IsMinimized property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Opened property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the IsResized property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Modal property  
    Public Fieldstatic (Shared in Visual Basic)Schema associated with NTopLevelWindow  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Opened event  
    Public Fieldstatic (Shared in Visual Basic)Reference to the QueryManualStartPosition event  
    Public Fieldstatic (Shared in Visual Basic)Reference to the RemoveFromParentOnClose property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ResizeCornerSize property.  
    Public Fieldstatic (Shared in Visual Basic)  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Result property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the HasControlBox property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ShowControlMenu property.  
    Public Fieldstatic (Shared in Visual Basic)Reference to the ShowInTaskbar property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the HasControlBox property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the StartPosition property  
    Public Fieldstatic (Shared in Visual Basic)Reference to the TitleBar child  
    Public Fieldstatic (Shared in Visual Basic)Reference to the Title property  
    Top
    Protected Fields
     NameDescription
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Field  
    Internal Fieldstatic (Shared in Visual Basic)  
    Internal Fieldstatic (Shared in Visual Basic)  
    Internal Field  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets whether the window must be automatically activated when opened. By default set to true.  
    Public PropertyGets or sets whether the window must automatically activate the frame of its owner window when activated. By defualt set to false.  
    Public PropertyGets or sets whether the owner window must be activated, when this popup window is closed. Has effect only if the window is the active window, when closed. By default set to true.  
    Public PropertyGets or sets whether the Close operation is allowed from the user interface of the window.  
    Public PropertyGets or sets whether the Maximize/Restore operation is allowed from the user interface of the window.  
    Public PropertyGets or sets whether the Minimize operation is allowed from the user interface of the window.  
    Public PropertyGets or sets whether the window can be resized in X dimenion.  
    Public PropertyGets or sets whether the window can be resized in Y dimenion.  
    Public PropertyGets or sets the bounds of the window (in Virtual Screen Coordinates).  
    Public PropertyDetermines whether the window should close if the user presses the "Escape" keyboard key. By default set to false.  
    Public PropertyGets or sets the frame (other) border  
    Public PropertyGets or sets the frame (other) border thickness  
    Public PropertyGets or sets the Height of the element  
    Public PropertyGets whether the window is currently active. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window is currently in an unstoppable closing procedure. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window is currently being dragged. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window frame should be displayed as active. This value is automatically updated by child windows, which have their MimicActiveOwner property set to true.  
    Public PropertyGets whether the window is currently maximized. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window is currently minimized. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window is opened or not. The value of this property is automatically updated by Nevron.  
    Public PropertyGets whether the window is currently being resized. The value of this property is automatically updated by Nevron.  
    Public PropertyGets or sets the window location (in Virtual Screen Coordinates).  
    Public PropertyGets or sets whether the window must be opend in modal fashion. When set to true, after the window is opened it becomes the one and only enabled window in the application. The only other windows that can possibly be activated are children or descendant windows of this window. Has effect prior to opening the window.  
    Public PropertyGets the child window that owns this top-level window. Returns null if the window is owned by a top-level window or is not owned at all.  
    Public PropertyGets the top level window that owns this top-level window. Returns null if the window is owned by a child window or is not owned at all.  
    Public PropertyGets the Window in which this element resides.  
    Public PropertyGets or sets whether the window is automatically removed from its parent node, when the window is closed. By default set to true.  
    Public PropertyGets or sets the thickness of the resize frame, through which the user can visually resize the window. Typically set through styling.  
    Public PropertyGets or sets the thickness of the window resize frame (the frame which the user can use to interactively resize the window). Typically set through styling.  
    Public PropertyGets or sets the result of the user interaction with the window.  
    Public PropertyGets or sets whether the window has a control box. The window control box consist of a Close box and optional Minimize and Maximize boxes (buttons).  
    Public PropertyGets or sets whether the window has a control menu drop down.  
    Public PropertyGets or sets whether the window is shown in the taskbar or not. Applicable only for environments with a taskbar (like Windows for example). Has effect prior to opening the window.  
    Public PropertyGets or sets whether the title bar needs to be shown.  
    Public PropertyGets or sets the window size  
    Public PropertyGets or sets the window start positioning mode. When set to Manual the window will raise the QueryManualStartPosition event prior to being opened. Has effect prior to opening the window.  
    Public PropertyGets or sets the window title string. This property has no effect if the ShowTitleBar is set to false.  
    Public PropertyGets or sets the title bar.  
    Public PropertyGets or sets the Width of the element  
    Public PropertyGets the X coordinate of the element box left-top corner in respect to the parent coordinate system.  
    Public PropertyGets or sets the Y coordinate of the element box left-top corner in respect to the parent coordinate system.  
    Top
    Public Methods
     NameDescription
    Public MethodActivates the window.  
    Public MethodCloses the window.  
    Public MethodOverridden. Gets the margins of the element. This implementation returns the margins of the frame, which is caclulated to include the TitleBar and the frame border.  
    Public MethodDetermines whether any of the window ancestor popup is currently in a closing procedure.  
    Public MethodMaximizes the window. Has no effect if the window is not opened, or platform does not support maximization.  
    Public MethodMinimizes the window. Has no effect if the window is not opened, or platform does not support minimization  
    Public MethodOpens the window.  
    Public MethodCenters the window in the owner window screen bounds.  
    Public MethodCenters the window in the center of the screen.  
    Public MethodCenters the window in the center of the screen working are.  
    Public MethodRestores the window to its normal size. Has no effect if the window is not opened, or platform does not support restore.  
    Public MethodHelper method, that setups the properties typically associated with application windows.  
    Public MethodHelper method, that setups the properties typically associated with dialog windows.  
    Public MethodHelper method, that setups the properties typically associated with popup windows.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Arranges the window content and the title bar.  
    Protected MethodArranges the window content only (i.e. without the title bar).  
    Internal Method  
    Internal Method  
    Protected MethodCalled when the user has pressed the "Escape" button to close the window.  
    Protected MethodCreates a frame border wall.  
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Protected MethodGets the window peer clip to use. This implementation returns a window peer clip from the current frame border outer outline. No clip is returned in case the FrameBorder is null, or the frame border has no outer corner rounding (e.g. is outer rectangular)  
    Internal Method  
    Internal Method  
    Internal MethodOverridden.   
    Internal MethodOverridden.   
    Protected MethodOverridden. Invalidates the arrange of element arrange parent.  
    Protected MethodOverridden. Invalidates the display of element display parent.  
    Protected MethodOverridden. Invalidates the measure of element measure parent.  
    Internal Method  
    Internal Method  
    Protected MethodOverridden. Measures the window content and the title bar.  
    Protected MethodMeasures the window content only (i.e. without the title bar).  
    Protected MethodRaises the Activated event.  
    Protected MethodRaises the Closed event.  
    Protected MethodRaises the Closing event.  
    Protected MethodRaises the Deactivated event.  
    Protected MethodOverridden. Occurs when a keyboard key is pushed down.  
    Protected MethodOverridden. Called when the window loses mouse capture.  
    Protected MethodOverridden. Default handler for the NMouse.DownEvent event.  
    Protected MethodOverridden. Default handler for the NMouse.MoveEvent event.  
    Protected MethodOverridden. Default handler for the NMouse.UpEvent event.  
    Protected MethodRaises the Opened event.  
    Protected MethodOverridden. Paints the foreground of the box, which is performed after the custom painting in OnPostPaint  
    Protected MethodRaises the QueryManualStartPosition event  
    Protected MethodCalled when a title bar button has been clicked. This implementation performs the respective button action.  
    Protected MethodCalled when the mouse left button is double clicked on the title bar header. This implementation Restores the window, if the window is maximized. Otherwise it Maximizes it.  
    Protected MethodCalled when the mouse left button is down on the title bar header. This implementation starts the window dragging.  
    Internal MethodOverridden.   
    Internal Method  
    Internal Method  
    Internal Method  
    Internal Method  
    Protected MethodOverridden. Updates the bounds of the window peer (i.e. the native window associated with this window).  
    Protected MethodUpdates the title bar of this window.  
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Internal Method  
    Internal MethodOverridden.   
    Internal Method  
    Top
    Public Events
     NameDescription
    Public EventOccurs when the window is shown and has been activated.  
    Public EventOccurs when the window has been closed.  
    Public EventOccurs when the window is about to be closed. This is a cancelable event. Canceling this event, prevents the window from closing.  
    Public EventOccurs when the window is shown and has been deactivated.  
    Public EventOccurs when the window has been opened and is about to be shown. Use this event to initialize the window content.  
    Public EventOccurs when the window has been opened and the StartPosition has been set to Manual. The handler is resposible for positioning the window.  
    Top
    See Also