Click or drag to resize

WindowlessComponent Class

Represents an object on the paper
Inheritance Hierarchy

Namespace:  Easymap.AddIn.Common
Assembly:  EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.0.0.0
Syntax
public class WindowlessComponent : LTComponent, 
	IForceVisible

The WindowlessComponent type exposes the following members.

Properties
  NameDescription
Public propertyAllowCopy
True if the component is copyable
Public propertyBorder
Returns Pen property
Public propertyBounds
The bounding box RectangleF of the component using the coordinate system of the parent
Public propertyCanDrag
If True, component allows drag-and-drop
Public propertyCanFocus
True if componet is focusable
Public propertyCanSelect
True if component is selectable
Public propertyCanSelectChilds
True if the child items can be selected
Public propertyClientBounds
The bounding box of the component using pixel coordinates
Public propertyDocument (Overrides LTComponentDocument.)
Public propertyEffectiveVisible
True, if component should be visible or not
Public propertyExclusiveVisibilityGroup
The name of the exclusive visibility group
Public propertyFill
Returns Brush property
Public propertyHasFocus
True if the component is in focus
Public propertyHideSelection
True if component is hidden selection
Public propertyHighlighted
True if component is highlighted
Public propertyHitsOutsideLocation
True if component allows the hittest outside the location
Public propertyIsBorderVisible
True if Border is visible
Public propertyIsShadowVisible
True if Shadow is visible
Public propertyKeepAspectRatio
True if component is kept aspect ratio
Public propertyMeasurement
Returns Measurement of a component
Public propertyMoveable
True if component is moveable
Public propertyMoveMode
Returns the MoveMode of a component
Public propertyParent
Returns the parent element of the component
Public propertyPath
Returns the path of a component
Public propertyRoot
Returns the root element of the component
Public propertyScaleSettings
The scale settings of the WindowlessComponent
Public propertySelected
True if component is selected
Public propertySensitiveLocation
Returns the location where the component is visible.
Public propertyShadow
Returns Pen property
Public propertySheet
Returns the associate Sheet of the component
Public propertySizable
True if component is sizeable
Public propertyTransform
Get an Transform object from windowless component
Public propertyUniformVisibilityGroup
The name of the uniform visibility group
Public propertyUsableArea
Returns the usable area of the component
Public propertyVisible
Visible state of the windowless component
Public propertywindowlessComponent
Returns the WindowlessComponent property
Top
Methods
  NameDescription
Public methodApplyTheme
Applies theming properties to the WindowlessComponent
Public methodCanInsertInto
Asks the WindowlessComponent if it could be inserted into the specified container
Public methodCreateGraphics
Creates an GDIPlus graphics context.
Public methodCreatePaintArgs
Create a new instance of PaintArgs.
Public methodDraw
Draws the windowless component object.
Public methodDrawHighlighted
Draws the highlighted state of the object.
Public methodDrawSelection
Draws selected windowless components.
Public methodDrawUnscaled
Draws the windowless component object without scaling even scaling is available.
Public methodFocus
Sets the input focus
Public methodGetAllElementsAtLocation
Gets a list of all WindowlessComponents at the specified location
Public methodGetChildsAt(PointF, HitTestAccuracy)
Gets the WindowlessComponent at the specified location.
Public methodGetChildsAt(PointF, HitTestAccuracy, Single)
Gets the WindowlessComponent at the specified location.
Public methodCode exampleGetFirstChildAt
Gets first WindowlessComponent element by userdefined parameters.
Public methodGetLocation
Returns the current Location of the component
Public methodGetRootLocation
Returns the Location of the root element
Public methodGetViewport
Returns the current Location of the viewport
Public methodHitTest
Returns true if HitTest was successfull.
Public methodInvalidate
Invalidates the client area of the WindowlessComponent
Public methodPointToParent
Converts a PointF from screen coordinates to the coordinate system of the (parent) WindowlessComponent
Public methodPointToScreen
Converts a PointF from the coordinate system of the (parent) WindowlessComponent to screen coordinates
Public methodRectangleToParent
Converts a RectangleF from screen coordinates to the coordinate system of the (parent) WindowlessComponent
Public methodRectangleToScreen
Converts a RectangleF from the coordinate system of the (parent) WindowlessComponent to screen coordinates
Public methodSelect
Selects the WindowlessComponent
Public methodSetBounds
Set the bounding box of the component using the coordinate system of the parent
Public methodSetClientBounds
Set the bounding box of the component using pixel coordinates
Public methodSetLocation
Set a new Location of the component
Public methodSetRootLocation
Set a new Location of the root element
Public methodSetViewport
Set a new Location of the viewport
Public methodUnSelect
Removes the WindowlessComponent from the selection list.
Top
Events
  NameDescription
Public eventClick
The Click Event gets fired when the user clicks on the hitarea of the WindowlessComponent
Public eventDragDrop
The DragDrop Event gets fired when a drag-and-drop operation is completed.
Public eventDragOver
The DragOver Event gets fired when an object is dragged over WindowlessComponent's bounds.
Public eventDrawContent
The DrawContent event gets fired when the component is drawn.
Public eventKeyDown
The KeyDown Event gets fired when a key is pressed while WindowlessComponent has focus.
Public eventKeyUp
The KeyUp Event gets fired when a key is released while WindowlessComponent has focus.
Public eventLocationChanged
The LocationChanged Event gets fired when the location of WindowlessComponent has changed.
Public eventMouseDown
The MouseDown Event gets fired when the mouse pointer is over the hitarea of the WindowlessComponent and a mouse button is pressed.
Public eventMouseEnter
The MouseEnter Event gets fired when the mouse pointer enters the WindowlessComponent.
Public eventMouseHover
The MouseHover Event gets fired when the mouse pointer rests on the hitarea of the WindowlessComponent.
Public eventMouseLeave
The MouseLeave Event gets fired when the mouse pointer leaves the WindowlessComponent.
Public eventMouseMove
The Move Event gets fired when the user moves over the hitarea of the WindowlessComponent
Public eventMouseUp
The MouseUp Event gets fired when the mouse pointer is over the hitarea of the WindowlessComponent and a mouse button is released.
Public eventViewportChanged
The ViewportChanged Event gets fired when the viewport of WindowlessComponent has changed.
Top
See Also
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.Runtime.InteropServicesStandardOleMarshalObject
      BaseObject
        Wrapper
          Easymap.AddIn.CommonLTComponent
            Easymap.AddIn.CommonWindowlessComponent
              Easymap.AddIn.AnalyseAnalysisLayer
              Easymap.AddIn.ElementsAnalysisLegend
              Easymap.AddIn.ElementsImageElement
              Easymap.AddIn.ElementsInsetMap
              Easymap.AddIn.ElementsLegend
              Easymap.AddIn.ElementsLine
              Easymap.AddIn.ElementsNorthArrow
              Easymap.AddIn.ElementsPaper
              Easymap.AddIn.ElementsPrintArea
              Easymap.AddIn.ElementsReportElement
              Easymap.AddIn.ElementsScaleBar
              Easymap.AddIn.ElementsShape
              Easymap.AddIn.ElementsTextElement
              Easymap.AddIn.MappingLayerElementComponent
              Easymap.AddIn.MappingMap
              Easymap.AddIn.MappingMapLayer