RegionHolderT Class

Region Holder class that implements support for custom Region canvas to be wrapped by the Evaluable Region which supports all the features of the program. It provides built-in Math Region located next to the custom Region.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
C#
public abstract class RegionHolder<T> : RegionEvaluable, 
	IRegionWithEditableText, IRegionWithInputData, IRegionWithTooltip, IRegionWithExtendedSearch
where T : RegionEvaluable
Inheritance
Object    RegionBase    RegionEvaluable    RegionHolderT
Implements
IRegionWithEditableText, IRegionWithExtendedSearch, IRegionWithInputData, IRegionWithTooltip

Type Parameters

T
Type of the Custom Region which is to be used as a main graphical representation of the result Region.

Constructors

RegionHolderT(RegionHolderT)Initializes a new instance of the RegionHolderT class
RegionHolderT(SessionProfile)Initializes a new instance of the RegionHolderT class

Properties

ActiveDebugTermIndex
(Inherited from RegionEvaluable)
BackColor
(Overrides RegionBaseBackColor)
BaseLine Gets base line for the Region.
(Inherited from RegionBase)
BaseSize Size of the base part of the Region.
(Overrides RegionEvaluableBaseSize)
Border Draws a frame along the border of an element.
(Inherited from RegionBase)
Bottom Bottom element boundary.
(Inherited from RegionBase)
canv Custom Region which is to be used as a main graphical representation of the result Region.
Children
(Inherited from RegionBase)
Container
(Inherited from RegionBase)
ContainsFields
(Inherited from RegionBase)
CurrentCollapsedHeight Height of the document collapsed area before current document element.
(Inherited from RegionBase)
CurrentCursorLocation
(Overrides RegionEvaluableCurrentCursorLocation)
CurrentMetaContext Gets or sets variables to use for document fields in the context of current document.
(Inherited from RegionBase)
CurrentPageOffsets Offsets of the current document page where the document element is present.
(Inherited from RegionBase)
CurrentTermIndexes
(Overrides RegionEvaluableCurrentTermIndexes)
CursorPosition 
DebugTerms
(Inherited from RegionEvaluable)
DeletedValues
(Inherited from RegionEvaluable)
Dependences
(Overrides RegionBaseDependences)
DescriptionBounds
(Inherited from RegionEvaluable)
DescriptionLocation
(Inherited from RegionEvaluable)
DescriptionText
(Inherited from RegionEvaluable)
DrawBase
(Inherited from RegionBase)
ErrorId The identifier of the error that occurred within the element.
(Inherited from RegionEvaluable)
ErrorTerm
(Overrides RegionEvaluableErrorTerm)
ErrorText
(Overrides RegionEvaluableErrorText)
Evaluable Gets or sets value defines if the Region is valuable or not.
(Inherited from RegionEvaluable)
FixedLayout Defines if modeling options of the Region could be modified.
(Inherited from RegionBase)
Focused
(Overrides RegionEvaluableFocused)
Font Font, used by the element.
(Inherited from RegionBase)
FontHeight
(Overrides RegionBaseFontHeight)
Id Id of the current RegionBase instance.
(Inherited from RegionBase)
ImmediateEvaluationOnCanvasRequest 
InDate Determines whether the content of an element is up-to-date and whether all of the element's components are in sync with each other.
(Inherited from RegionEvaluable)
InEvaluation Gets or sets whether Region is under evaluation now.
(Inherited from RegionEvaluable)
InnerBounds Bounds of the content Region area relative to the Worksheet.
(Inherited from RegionEvaluable)
InputDataVisibility 
IsActivated Determines whether the document element is activated and registered on the worksheet.
(Inherited from RegionBase)
IsIntegratedRegion Determines whether Region is integarted as an important part of another Rerion or not.
(Inherited from RegionBase)
Link
(Inherited from RegionBase)
Location Location of the document element.
(Inherited from RegionBase)
math Built-in Math Region placed next to the custom Region.
MetaData
(Inherited from RegionBase)
Middle
(Inherited from RegionBase)
Obsolete.
MiddleLine
(Overrides RegionEvaluableMiddleLine)
MinimumSize 
Optimization
(Inherited from RegionEvaluable)
PageBreaks
(Inherited from RegionBase)
Parent Gets the Worksheet where Region exists.
(Inherited from RegionBase)
Regions Children of the current Region.
(Inherited from RegionBase)
RemoteOwner Name of the remote owner client. Must be empty if Region belongs to local user.
(Inherited from RegionBase)
ResizeBounds 
Right Right element boundary.
(Inherited from RegionBase)
Selected Determines whether the document element is selected within the Worksheet.
(Inherited from RegionBase)
SelectedBackColor Selected background color.
(Inherited from RegionBase)
SelectedTermsIndexes
(Overrides RegionEvaluableSelectedTermsIndexes)
SelectedTextColor The color of the element's selected text.
(Inherited from RegionBase)
SessionProfile
(Inherited from RegionBase)
ShowDescription
(Inherited from RegionEvaluable)
Size
(Overrides RegionEvaluableSize)
TabStop
(Inherited from RegionBase)
Terms
(Overrides RegionEvaluableTerms)
TextColor
(Overrides RegionBaseTextColor)
UniqueId Unique Id of the Region.
(Inherited from RegionBase)
Values
(Inherited from RegionEvaluable)
WarningColor The color of the element's warnings.
(Inherited from RegionEvaluable)

Methods

BeforeCopy
(Inherited from RegionBase)
BeforePaste
(Inherited from RegionBase)
ChangeLocation Safely change element position (the old and new positions of the element on the sheet are redrawn).
(Inherited from RegionBase)
ChangeStatus(String)
(Inherited from RegionBase)
ChangeStatus(String, Int32, Int32, Stopwatch)
(Inherited from RegionBase)
CheckEvaluability
(Overrides RegionEvaluableCheckEvaluability)
ChildRepainting
(Inherited from RegionEvaluable)
ClickMenuButton
(Inherited from RegionBase)
Clone Creates a new document element that is a copy of the current instance.
(Inherited from RegionBase)
Copy
(Overrides RegionEvaluableCopy(IClipboardManager))
CreateDescription
(Inherited from RegionEvaluable)
CreateHistoryStep Registrates Region changes into changes history.
(Inherited from RegionBase)
Dispose
(Inherited from RegionBase)
Draw Draws a document element on the given canvas with a specified model of page.
(Inherited from RegionBase)
DrawToBitmap Getting element image.
(Inherited from RegionBase)
DrawToBitmap(IGraphics)
(Inherited from RegionBase)
DrawToBitmap(Color, Boolean) Getting an element image with the specified background color.
(Inherited from RegionBase)
DrawToBitmap(IGraphics, Point) Drawing of the Region on the specified location.
(Inherited from RegionBase)
DrawToBitmapScaled
(Inherited from RegionBase)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FromXml
(Overrides RegionBaseFromXml(StorageReader, FileParsingContext))
GetAllChildren
(Inherited from RegionBase)
GetCanvas 
GetcurrentTermsContainer
(Overrides RegionEvaluableGetcurrentTermsContainer)
GetCursorType
(Overrides RegionEvaluableGetCursorType(MouseEventOptions))
GetFocusedPart
(Inherited from RegionBase)
GetHashCode
(Inherited from RegionBase)
GetHistoryStep
(Overrides RegionEvaluableGetHistoryStep)
GetSelectionStatus
(Overrides RegionBaseGetSelectionStatus)
GetTypeGets the Type of the current instance.
(Inherited from Object)
InitLayout
(Inherited from RegionEvaluable)
InitLayout(Store)
(Inherited from RegionEvaluable)
Invalidate Determines the absolute coordinates of the control's position and sends a request to redraw it.
(Inherited from RegionBase)
IsEmpty
(Overrides RegionBaseIsEmpty)
MarkOutOfDate
(Inherited from RegionEvaluable)
Obsolete.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
OnBeforeCommandSend
(Inherited from RegionBase)
OnCommandSend(String)
(Overrides RegionEvaluableOnCommandSend(String))
OnCommandSend(Term)
(Overrides RegionEvaluableOnCommandSend(Term))
OnEvaluation Processing of the Plot Regions.
(Overrides RegionEvaluableOnEvaluation(Store))
OnKeyDown
(Inherited from RegionBase)
OnKeyPress
(Inherited from RegionBase)
OnKeyUp
(Inherited from RegionBase)
OnMouseDown
(Overrides RegionEvaluableOnMouseDown(MouseEventOptions))
OnMouseMove
(Overrides RegionEvaluableOnMouseMove(MouseEventOptions))
OnMouseUp
(Overrides RegionEvaluableOnMouseUp(MouseEventOptions))
OnMouseWheel
(Overrides RegionBaseOnMouseWheel(MouseEventOptions, Int32))
OnMouseWheelAction 
OnPaint
(Overrides RegionEvaluableOnPaint(PaintEventOptions))
OnSelectionUpdate
(Inherited from RegionBase)
OnSizeChanged 
Paste
(Overrides RegionEvaluablePaste(IClipboardManager))
PrePainter
(Overrides RegionBasePrePainter)
PrePainter(IGraphics)
(Inherited from RegionBase)
ReadMath
(Inherited from RegionEvaluable)
ReadXmlProperties
(Inherited from RegionEvaluable)
ReadyToPaint
(Inherited from RegionBase)
Obsolete.
RequestEntryInfo
(Inherited from RegionEvaluable)
RequestEvaluation
(Overrides RegionEvaluableRequestEvaluation(Boolean))
RequestForEvaluation
(Inherited from RegionEvaluable)
Obsolete.
ResetColors Safe apply of colors (all color-dependent variables are updated).
(Inherited from RegionBase)
Resize Generates a resize event.
(Inherited from RegionBase)
SetEvaluationState
(Inherited from RegionEvaluable)
SetSize 
ShowAvailableTermsList
(Inherited from RegionBase)
ShowError(Exception, IPrimitive) Reports an error in an element during calculation.
(Inherited from RegionEvaluable)
ShowError(Exception, Term) Reports an error in an element during calculation.
(Inherited from RegionEvaluable)
ToString
(Overrides ObjectToString)
ToXml
(Overrides RegionBaseToXml(StorageWriter, FileParsingContext))
TrySearch 
WriteMath
(Inherited from RegionEvaluable)
WriteXmlProperties
(Inherited from RegionEvaluable)

Events

AvailableTermsListShow
(Inherited from RegionBase)
BeforeLocationChanged
(Inherited from RegionBase)
Changed
(Inherited from RegionBase)
ErrorOccured
(Inherited from RegionEvaluable)
EvaluationRequest
(Inherited from RegionEvaluable)
EvaluationStateChanged
(Inherited from RegionEvaluable)
FocusChanged
(Inherited from RegionBase)
MenuButtonClick
(Inherited from RegionBase)
OnEntryInfoRequested Rises when information about dimension requested.
(Inherited from RegionEvaluable)
PaintRequested
(Inherited from RegionBase)
ProgressChanged
(Inherited from RegionBase)
Resized
(Inherited from RegionBase)
StatusChanged
(Inherited from RegionBase)

Fields

brush Array of brushes, used for drawing.
(Inherited from RegionBase)
dblclick
(Inherited from RegionBase)
Description
(Inherited from RegionEvaluable)
DescriptionPosition
(Inherited from RegionEvaluable)
Obsolete.
pen Array of pens, used for drawing.
(Inherited from RegionBase)
referer Text action name of the last change in the Region.
(Inherited from RegionBase)
Obsolete.
terms
(Inherited from RegionEvaluable)

Explicit Interface Implementations

IRegionWithEditableTextSerializedValue Serialized value of the region.
IRegionWithEditableTextSetPreviousChar Sets a char previous to the current cursor position.
IRegionWithEditableTextTryGetPreviousChar Gets a char previous to the current cursor position.
IRegionWithTooltipTryGetTooltip Draws a ToolTip image of the Region.

See Also