Nevron Open Vision Documentation
NBoxElement Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NBoxElement.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)BackgroundFillPropertyReference to the BackgroundFill property  
Public Fieldstatic (Shared in Visual Basic)BorderPropertyReference to the Border property  
Public Fieldstatic (Shared in Visual Basic)BorderThicknessPropertyReference to the BorderThickness property  
Public Fieldstatic (Shared in Visual Basic)DefaultHeightPropertyReference to the DefaultHeight property  
Public Fieldstatic (Shared in Visual Basic)DefaultWidthPropertyReference to the DefaultWidth property  
Public Fieldstatic (Shared in Visual Basic)DesiredHeightPropertyReference to the DesiredHeight property  
Public Fieldstatic (Shared in Visual Basic)DesiredWidthPropertyReference to the DesiredWidth property  
Public Fieldstatic (Shared in Visual Basic)FocusDecoratorPropertyReference to the FocusDecorator property  
Public Fieldstatic (Shared in Visual Basic)FontPropertyReference to the Font property  
Public Fieldstatic (Shared in Visual Basic)HeightPropertyReference to the Height property  
Public Fieldstatic (Shared in Visual Basic)InvalidateMeasureHint_DesiredSizeOnlyHint for measure invalidation. Marks only the desired size for remeasure.  
Public Fieldstatic (Shared in Visual Basic)MaxHeightPropertyReference to the MaxHeight property  
Public Fieldstatic (Shared in Visual Basic)MaxWidthPropertyReference to the MaxWidth property  
Public Fieldstatic (Shared in Visual Basic)MinHeightPropertyReference to the MinHeight property  
Public Fieldstatic (Shared in Visual Basic)MinWidthPropertyReference to the MinWidth property  
Public Fieldstatic (Shared in Visual Basic)NBoxElementSchemaSchema associated with NBoxElement  
Public Fieldstatic (Shared in Visual Basic)PaddingPropertyReference to the Padding property  
Public Fieldstatic (Shared in Visual Basic)PreferredHeightPropertyReference to the PreferredHeight property  
Public Fieldstatic (Shared in Visual Basic)PreferredWidthPropertyReference to the PreferredWidth property  
Public Fieldstatic (Shared in Visual Basic)TextFillPropertyReference to the TextFill property  
Public Fieldstatic (Shared in Visual Basic)WidthPropertyReference to the Width property  
Public Fieldstatic (Shared in Visual Basic)XPropertyReference to the X property  
Public Fieldstatic (Shared in Visual Basic)YPropertyReference to the Y property  
Top
Public Properties
 NameDescription
Public PropertyBackgroundFillGets or sets the background  
Public PropertyBorderGets or sets the border  
Public PropertyBorderThicknessGets or sets the thickness of the box border sides.  
Public PropertyBoundsGets the bounds of the box (in parent coordinates)  
Public PropertyDefaultHeightGets the default height of the element. (in parent coordinates) Automatically updated by Nevron.  
Public PropertyDefaultSizeA shortcut property that gets the default size of the element (DefaultWidth and DefaultHeight). Automatically updated by Nevron.  
Public PropertyDefaultWidthGets the default width of the element (in parent coordinates). Automatically updated by Nevron.  
Public PropertyDesiredHeightGets the desired height of the element. (in parent coordinates) Automatically updated by Nevron.  
Public PropertyDesiredSizeA shortcut property that gets the desired size of the element (DesiredWidth and DesiredHeight). Automatically updated by Nevron.  
Public PropertyDesiredWidthGets the desired width of the element (in parent coordinates). Automatically updated by Nevron.  
Public PropertyFocusDecoratorGets or sets the focus decorator.  
Public PropertyFontGets or sets the font style  
Public PropertyHeightGets the Height of the element (in local coordinates) Automatically updated by Nevron.  
Public PropertyIsArrangeValidGets whether the arrange of the element is valid.  
Public PropertyIsMeasureValidGets whether the measure of the element is valid  
Public PropertyIsPooledForArrangeGets whether the element is pooled for arrange validation.  
Public PropertyIsPooledForMeasureGets whether the element is pooled for measure validation.  
Public PropertyLocationGets or sets the location of the box (X,Y) coordinates of left-top corner  
Public PropertyMaxHeightGets or sets the max height of the element  
Public PropertyMaxSizeGets or sets the max size of the element  
Public PropertyMaxWidthGets or sets the max width of the element  
Public PropertyMinHeightGets or sets the minimal height of the element. The box default and desired height is always larger or equal to this value, except in the case when the element is collapsed. By default set to 0.  
Public PropertyMinSizeA shortcut property that gets/sets the minimal size of the element (MinWidth and MinHeight).  
Public PropertyMinWidthGets or sets the minimal width of the element. The box default and desired width is always smaller or equal to this value, except in the case when the element is collapsed. By default set to 0.  
Public PropertyPaddingGets or sets the padding applied to the box content.  
Public PropertyPreferredHeightGets or sets the suggested height of the element. If the value of this property is NaN the default height and desired height of the box are automatically computed. Otherwise both the default height and the desired height are equal to this value. By default set to NaN.  
Public PropertyPreferredSizeA shortcut property that gets/sets the preferred size of the element (PreferredWidth and PreferredHeight).  
Public PropertyPreferredWidthGets or sets the suggested width of the element. If the value of this property is NaN the default width and desired width of the box are automatically computed. Otherwise both the default width and the desired width are equal to this value. By default set to NaN.  
Public PropertySizeGets or set the size of the box (Width, Height) (in local coordinates) Automatically updated by Nevron.  
Public PropertyTextFillGets or sets the text fill  
Public PropertyWidthGets the Width of the box (in local coordinates) Automatically updated by Nevron.  
Public PropertyXGets or sets the X coordinate of the element box left-top corner in respect to the parent coordinate system.  
Public PropertyYGets or sets the Y coordinate of the element box left-top corner in respect to the parent coordinate system.  
Top
Public Methods
 NameDescription
Public MethodCanAnchorHatchesOverridden. Determines whether hatch transformations can be anchored to this node coordinate system.  
Public MethodCanAnchorShadowsOverridden. Determines whether shadow transformations can be anchored to this node coordinate system.  
Public MethodCanTransformOverridden.   
Public MethodDoPostPaintOverridden. Performs the element post children paint.  
Public MethodDoPrePaintOverridden. Performs the element pre children paint.  
Public MethodGetBorderEdgeOverloaded. Gets the border edge (border area) of the element (in local coordinates)  
Public MethodGetBorderThicknessGets the border thickness of the element. This implementation returns the computed value of the BorderThickness property.  
Public MethodGetContentEdgeOverloaded. Gets the content edge (inner edge) of the element (in local coordinates)  
Public MethodGetFocusEdgeGets the edge of the focus frame. This implementation returns the middle between the padding and the content edge  
Public MethodGetInsetsGets the element insets, which is the sum of the margins, padding and border thickness.  
Public MethodGetMarginsGets the margins of the element. This implementation returns empty margins, since by default Box elements do not have margins.  
Public MethodGetMeasureGets the measure of the element that is applicable for the current value of visitor.DefaultMeasure property. If it is true, returns DefaultSize, otherwise returns DesiredSize.  
Public MethodGetPaddingGets the padding of the element. This implementation returns the computed value of the Padding property.  
Public MethodGetPaddingEdgeOverloaded. Gets the padding edge (padding area) of the element (in local coordinates)  
Public MethodGetTransformOverridden. Gets the matrix that transforms local to parent coordinates.  
Public MethodInvalidateArrangeInvalidates the element arrange  
Public MethodInvalidateArrangeFromChildCalled by child or descendant arrange elements that consider this element as arrange parent, and want to inform it to invalidate it's arrange.  
Public MethodInvalidateMeasureInvalidates the element measure and pools the element for measure validation.  
Public MethodInvalidateMeasureFromChildCalled by child or descendant measure elements that consider this element as measure parent, and want to inform it to invalidate it's measure.  
Public MethodLocalToParentOverloaded. Overridden. Transforms a point in local coordinates to the coordinates of its parent coordinate system  
Public MethodParentToLocalOverloaded. Overridden. Transforms a point in parent coordinates to local coordinates  
Public MethodTryGetScreenBoundsTries to get the screen bounds of this element  
Public MethodValidateArrangeCalled to arrange the element  
Public MethodValidateMeasureCalled to validate the element measure  
Top
Protected Methods
 NameDescription
Protected MethodArrangeContentArranges the element content.  
Protected MethodCreateBorderWallCreates the border wall of the box.  
Protected MethodIsCollapsed  
Protected MethodMeasureContentMeasures the desired size of the element content.  
Protected MethodOnPaintBackgroundPaints the background of the box, which is performed before the custom painting in OnPrePaint.  
Protected MethodOnPaintForegroundPaints the foreground of the box, which is performed after the custom painting in OnPostPaint.  
Top
See Also

Reference

NBoxElement Class
Nevron.Nov.UI Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback