• Articles
  • API reference
  • Previous Versions
Show / Hide Table of Contents
  • Connector
    • Vortex.Adapters.Connector.Tc3
      • AdsConnector
      • AdsConnector.OnAdsStateChangeDelegate
      • LiveClient
      • OnlineSymbolRetriever
      • OnlineVariableInfo
      • OnlineVariableInfo.SymbolLoaderSettings
      • ReportingConsole
      • ReportingConsole.UpdateStartUpDelegate
    • Vortex.Adapters.Connector.Tc3.Adapter
      • ConnectorFactory
      • SymbolLoadingMode
      • SymbolLoadMethod
      • Tc3ConnectorAdapter
    • Vortex.Adapters.Connector.Tc3.AdsExceptionsHandling
      • ExceptionHandler
    • Vortex.Adapters.Connector.Tc3.AdsValueTypes
      • AdsBit
      • AdsBool
      • AdsByte
      • AdsDate
      • AdsDateTime
      • AdsDInt
      • AdsDWord
      • AdsInt
      • AdsLInt
      • AdsLReal
      • AdsLTime
      • AdsLWord
      • AdsReal
      • AdsSInt
      • AdsString
      • AdsTime
      • AdsTimeOfDay
      • AdsUDInt
      • AdsUInt
      • AdsULInt
      • AdsUSInt
      • AdsWord
      • AdsWString
      • ClientSymbol
      • IAdsBaseType
    • Vortex.Adapters.Connector.Tc3Adapter.Adapter
      • NamespaceDoc
    • Vortex.Connector
      • CommStateEnum
      • ConnectorAdapter
      • DataExchangeStatusEnum
      • DummyConnector
      • DummyConnectorFactory
      • EnumeratorDiscriminatorAttribute
      • IConnector
      • IConnectorFactory
      • IgnoreReflectionAttribute
      • InterpolatedAncestor
      • InvalidLicenseConnector
      • InvalidLicenseConnectorAdapter
      • InvalidLicenseConnectorFactory
      • IPlain
      • ITwinController
      • ITwinObject
      • ITwinPrimitive
      • IValueTag
      • IValueTagExtensions
      • IValueTagInfo
      • IVortexElement
      • IVortexObject
      • IVortexObjectExtensions
      • IVortexOnlineObject
      • IVortexShadowObject
      • NamespaceDoc
      • RootVortexerObject
      • StringInterpolator
      • TypeComplexityEnum
    • Vortex.Connector.Attributes
      • AssemblyPlcCounterPart
      • CompilerOmissionGroups
      • CompilerOmitsAttribute
      • ReadOnlyAttribute
      • TypeMetaDescriptorAttribute
    • Vortex.Connector.Identity
      • IVortexIdentity
      • MemberByIdentityAttribute
      • NullVortexIdentity
      • VortexIdentityProvider
    • Vortex.Connector.LibraryDescriptors
      • TypeMetaData
    • Vortex.Connector.ValueTypes
      • NamespaceDoc
      • OnlinerBaseType
      • OnlinerBaseType.ValueChangeDelegate
      • OnlinerBaseType<T>
      • OnlinerBit
      • OnlinerBool
      • OnlinerByte
      • OnlinerDate
      • OnlinerDateTime
      • OnlinerDInt
      • OnlinerDWord
      • OnlinerInt
      • OnlinerLInt
      • OnlinerLReal
      • OnlinerLTime
      • OnlinerLWord
      • OnlinerReal
      • OnlinerSInt
      • OnlinerString
      • OnlinerTime
      • OnlinerTimeOfDay
      • OnlinerUDInt
      • OnlinerUInt
      • OnlinerULInt
      • OnlinerUSInt
      • OnlinerWord
      • OnlinerWString
      • ReadWriteAccess
      • ValueChangedEventArgs
      • ValueChangedEventHandlerDelegate
    • Vortex.Connector.ValueTypes.Online
      • IOnline<T>
      • IOnlineBit
      • IOnlineBool
      • IOnlineByte
      • IOnlineDate
      • IOnlineDateTime
      • IOnlineDInt
      • IOnlineDWord
      • IOnlineInt
      • IOnlineLInt
      • IOnlineLReal
      • IOnlineLTime
      • IOnlineLWord
      • IOnlineReal
      • IOnlineSInt
      • IOnlineString
      • IOnlineTime
      • IOnlineTimeOfDay
      • IOnlineUDInt
      • IOnlineUInt
      • IOnlineULInt
      • IOnlineUSInt
      • IOnlineWord
      • IOnlineWString
      • NamespaceDoc
    • Vortex.Connector.ValueTypes.Shadows
      • IShadow<T>
      • IShadowBit
      • IShadowBool
      • IShadowByte
      • IShadowDate
      • IShadowDateTime
      • IShadowDInt
      • IShadowDWord
      • IShadowInt
      • IShadowLInt
      • IShadowLReal
      • IShadowLTime
      • IShadowLWord
      • IShadowReal
      • IShadowSInt
      • IShadowString
      • IShadowTime
      • IShadowTimeOfDay
      • IShadowUDInt
      • IShadowUInt
      • IShadowULInt
      • IShadowUSInt
      • IShadowWord
      • IShadowWString
      • NamespaceDoc
    • Vortex.Connector.ValueValidation
      • BitValueValidationRule
      • BoolValueValidationRule
      • ByteValueValidationRule
      • DateTimeValueValidationRule
      • DateValueValidationRule
      • DintValueValidationRule
      • DWordValueValidationRule
      • IntValueValidationRule
      • IValueBoundaries<T>
      • LIntValueValidationRule
      • LRealValueValidationRule
      • LTimeValueValidationRule
      • LWordValueValidationRule
      • NamespaceDoc
      • OnlinerValidationRule<T>
      • RealValueValidationRule
      • SIntValueValidationRule
      • StringValueValidationRule
      • TimeOfDayValueValidationRule
      • TimeValueValidationRule
      • UDIntValueValidationRule
      • UIntValueValidationRule
      • ULIntValueValidationRule
      • USintValueValidationRule
      • ValidationResult
      • WordValueValidationRule
      • WStringValueValidationRule
    • Vortex.Localizations
      • IdentifierValidator
      • LocalizableItem
      • Localizables
      • LocalizationHelper
      • LocalizerDictionary
  • Presentation
    • Vortex.Presentation.Controls.Wpf
      • DateTimePickerBox
      • MultiConverter
      • TimePickerBaseBox
      • TimeTextBoxBaseBox
    • Vortex.Presentation.Controls.Wpf.Enumerators
      • EnumeratorContainer
      • EnumeratorContainerControlSlimView
      • EnumeratorContainerControlSlimViewModel
      • EnumeratorContainerControlView
      • EnumeratorContainerControlViewModel
      • EnumeratorContainerDisplaySlimView
      • EnumeratorContainerDisplaySlimViewModel
      • EnumeratorContainerDisplayView
      • EnumeratorContainerDisplayViewModel
      • EnumeratorContainerShadowControlSlimView
      • EnumeratorContainerShadowControlSlimViewModel
      • EnumeratorContainerShadowControlView
      • EnumeratorContainerShadowControlViewModel
      • EnumeratorContainerShadowDisplaySlimView
      • EnumeratorContainerShadowDisplaySlimViewModel
      • EnumeratorContainerShadowDisplayView
      • EnumeratorContainerShadowDisplayViewModel
      • EnumeratorContainerViewModel
      • EnumToIntConverter
    • Vortex.Presentation.Controls.Wpf.Extension
      • AttributeStringFormatExtensions
      • DateTimePicker
    • Vortex.Presentation.Controls.Wpf.OnlineControl
      • OnlineControlCheckBox
      • OnlineControlCheckBoxValue
      • OnlineControlDate
      • OnlineControlDateTime
      • OnlineControlLTime
      • OnlineControlTextBox
      • OnlineControlTextBoxValue
      • OnlineControlTime
      • OnlineControlTimeOfDay
      • OnlineControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.OnlineControls
      • OnlineControlSlimCheckBox
      • OnlineControlSlimCheckBoxValue
      • OnlineControlSlimDate
      • OnlineControlSlimDateTime
      • OnlineControlSlimLTime
      • OnlineControlSlimTextBox
      • OnlineControlSlimTextBoxValue
      • OnlineControlSlimTime
      • OnlineControlSlimTimeOfDay
    • Vortex.Presentation.Controls.Wpf.OnlineDisplay
      • OnlineDisplayCheckBox
      • OnlineDisplayTextBox
      • OnlineDisplayTextBoxValue
      • OnlineDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowControl
      • ShadowControlCheckBox
      • ShadowControlCheckBoxValue
      • ShadowControlDate
      • ShadowControlDateTime
      • ShadowControlLTime
      • ShadowControlTextBox
      • ShadowControlTextBoxValue
      • ShadowControlTime
      • ShadowControlTimeOfDay
      • ShadowControlTimeTextBox
    • Vortex.Presentation.Controls.Wpf.ShadowDisplay
      • ShadowDisplayCheckBox
      • ShadowDisplayTextBox
      • ShadowDisplayTextBoxValue
      • ShadowDisplayTimeTextBox
    • Vortex.Presentation.Controls.Wpf.Shared.Base
      • TimeAndDateConverterFactory
    • Vortex.Presentation.ControlSlims.Wpf
      • MultiConverter
    • Vortex.Presentation.ControlSlims.Wpf.OnlineDisplaySlim
      • OnlineDisplaySlimCheckBox
      • OnlineDisplaySlimTextBox
      • OnlineDisplaySlimTextBoxValue
      • OnlineDisplaySlimTimeTextBox
    • Vortex.Presentation.ControlSlims.Wpf.ShadowControlSlim
      • ShadowControlSlimCheckBox
      • ShadowControlSlimCheckBoxValue
      • ShadowControlSlimDate
      • ShadowControlSlimDateTime
      • ShadowControlSlimLTime
      • ShadowControlSlimTextBox
      • ShadowControlSlimTextBoxValue
      • ShadowControlSlimTime
      • ShadowControlSlimTimeOfDay
    • Vortex.Presentation.ControlSlims.Wpf.ShadowDisplaySlim
      • ShadowDisplaySlimCheckBox
      • ShadowDisplaySlimTextBox
      • ShadowDisplaySlimTextBoxValue
      • ShadowDisplaySlimTimeTextBox
    • Vortex.Presentation.Styling.Wpf
      • VortexResources
    • Vortex.Presentation.Styling.Wpf.Assist
      • DataGridAssist
    • Vortex.Presentation.Wpf
      • ActionRunner
      • ActionRunner.UserApprovedActionDelegate
      • BindableBase
      • ConsoleWriter
      • ConsoleWriterEventArgs
      • ContentOpeningMode
      • CreatorFailureDisplayBox
      • DateFormatConverter
      • DateTimeFormatConverter
      • EnumeratorHelper
      • EnumHelper
      • EnumToCollectionConverter
      • INavigable
      • LazyRenderer
      • MenuControlsHelper
      • MenuControlView
      • MenuControlViewModel
      • MenuControlViewTestViewModel
      • MenuRenderableControlViewModel
      • MvvmVisualState
      • NavCommand
      • NavigableRenderableViewModelBase
      • NavigableViewModelBase
      • PresentationHelper
      • RelayCommand
      • RelayCommand<T>
      • RenderableAssemblyAttribute
      • RenderableContentControl
      • RenderableContentDelayedControl
      • RenderableViewModel
      • RenderContentConverter
      • RenderContentDelayedConverter
      • Renderer
      • Renderer.BaseTypeProperies
      • Renderer.ComponentsCacheItem
      • ReportingLevel
      • SelectedButtonConverter
      • StartUpWindow
      • TestView
      • TimeFormatConverter
      • TooManyObjectsToRenderException
      • ValueDescription
      • WpfLayoutProvider
    • Vortex.Presentation.Wpf.Converters
      • BaseConverter
      • BaseMultiConverter
      • CapitalizeConverter

Class Renderer

Renderer renders representation for object that derive IVortexObject or IValueTag

Inheritance
System.Object
Renderer
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class Renderer

Constructors

Renderer()

Declaration
Renderer()

Fields

_cachedTypes

Declaration
readonly Dictionary<string, Type> _cachedTypes
Field Value
Type Description
System.Collections.Generic.Dictionary<System.String, System.Type>

_componentsCache

Declaration
SortedDictionary<string, Renderer.ComponentsCacheItem> _componentsCache
Field Value
Type Description
System.Collections.Generic.SortedDictionary<System.String, Renderer.ComponentsCacheItem>

_instance

Declaration
static Renderer _instance
Field Value
Type Description
Renderer

_viewAsseblyLookupList

Declaration
readonly List<string> _viewAsseblyLookupList
Field Value
Type Description
System.Collections.Generic.List<System.String>

assembliesLoaded

Declaration
bool assembliesLoaded
Field Value
Type Description
System.Boolean

mutex

Declaration
static volatile object mutex
Field Value
Type Description
System.Object

Properties

ComponentsCache

Declaration
SortedDictionary<string, Renderer.ComponentsCacheItem> ComponentsCache
{
}
Property Value
Type Description
System.Collections.Generic.SortedDictionary<System.String, Renderer.ComponentsCacheItem>

Diagnostics

Declaration
string Diagnostics
{
}
Property Value
Type Description
System.String

Get

Gets singleton instance of Renderer

Declaration
public static Renderer Get { get; }
Property Value
Type Description
Renderer

MaxObjectCountInDesign

Declaration
int MaxObjectCountInDesign
{
}
Property Value
Type Description
System.Int32

ReportingSeverity

Gets or sets ReportingLevel that displays messages and errors that might occur during the rendering process.

Declaration
public ReportingLevel ReportingSeverity { get; set; }
Property Value
Type Description
ReportingLevel

ViewAssemblyLookupList

Declaration
List<string> ViewAssemblyLookupList
{
}
Property Value
Type Description
System.Collections.Generic.List<System.String>

Methods

_CreatePresentation(Object, Object, Boolean, ReportingLevel, Int32)

Declaration
object _CreatePresentation(object presentationType, object vortexObject, bool preferCustomized, ReportingLevel reportingLevel, int maxObjectsInDesignMode)
Parameters
Type Name Description
System.Object presentationType
System.Object vortexObject
System.Boolean preferCustomized
ReportingLevel reportingLevel
System.Int32 maxObjectsInDesignMode
Returns
Type Description
System.Object

_CreatePresentation(String, IValueTag, FrameworkElement)

Creates presentation of IValueTag of given presentation type.

Declaration
FrameworkElement _CreatePresentation(string presentationType, IValueTag vortexObject, FrameworkElement parentContainer = null)
Parameters
Type Name Description
System.String presentationType

Presentation type

IValueTag vortexObject

IValueTag from which the presentation will be rendered.

System.Windows.FrameworkElement parentContainer

Optionally can be parent UI container.

Returns
Type Description
System.Windows.FrameworkElement

_CreatePresentation(String, IVortexObject, Boolean, FrameworkElement)

Creates presentation of IVortexObject of given presentation type.

Declaration
FrameworkElement _CreatePresentation(string presentationType, IVortexObject vortexObject, bool preferCustomized, FrameworkElement parentContainer = null)
Parameters
Type Name Description
System.String presentationType

Presentation type

IVortexObject vortexObject

IVortexObject from which the presentation will be rendered.

System.Boolean preferCustomized
System.Windows.FrameworkElement parentContainer

Optionally can be parent UI container.

Returns
Type Description
System.Windows.FrameworkElement

AddContainer(FrameworkElement, FrameworkElement, IVortexElement, Object)

Declaration
FrameworkElement AddContainer(FrameworkElement newContainer, FrameworkElement parentContainer, IVortexElement vortexObject, object parentHeader)
Parameters
Type Name Description
System.Windows.FrameworkElement newContainer
System.Windows.FrameworkElement parentContainer
IVortexElement vortexObject
System.Object parentHeader
Returns
Type Description
System.Windows.FrameworkElement

AddElement(ContentControl, IVortexElement, String)

Declaration
bool AddElement(ContentControl container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.ContentControl container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(Decorator, IVortexElement, String)

Declaration
bool AddElement(Decorator container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.Decorator container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(HeaderedContentControl, FrameworkElement, IVortexElement, String)

Declaration
bool AddElement(HeaderedContentControl container, FrameworkElement parentContainer, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.HeaderedContentControl container
System.Windows.FrameworkElement parentContainer
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(ItemsControl, IVortexElement, String)

Declaration
bool AddElement(ItemsControl container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.ItemsControl container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(Panel, IVortexElement, String)

Declaration
bool AddElement(Panel container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.Panel container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(Selector, IVortexElement, String)

Declaration
bool AddElement(Selector container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.Controls.Primitives.Selector container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddElement(FrameworkElement, IVortexElement, String)

Declaration
bool AddElement(FrameworkElement container, IVortexElement vortexObject, string presentationType)
Parameters
Type Name Description
System.Windows.FrameworkElement container
IVortexElement vortexObject
System.String presentationType
Returns
Type Description
System.Boolean

AddViewModelTypeToComponentsCache(String, Type, Type)

Declaration
void AddViewModelTypeToComponentsCache(string fullSignature, Type objType, Type viewModelType)
Parameters
Type Name Description
System.String fullSignature
System.Type objType
System.Type viewModelType

AddViewTypeToComponentsCache(String, Type, Type)

Declaration
void AddViewTypeToComponentsCache(string fullSignature, Type objType, Type viewType)
Parameters
Type Name Description
System.String fullSignature
System.Type objType
System.Type viewType

AttachAllAssemblieFromApplicationDomain()

Loads all assemblies from the application domain of currently running application.

Declaration
void AttachAllAssemblieFromApplicationDomain()

AttachAllAssemblies()

Declaration
void AttachAllAssemblies()

AttachAllAssembliesApplicationFolder()

Declaration
void AttachAllAssembliesApplicationFolder()

AttachAllAssembliesAtRuntime()

Loads all assemblies from current application directory that have defined RenderableAssemblyAttribute. These assemblies are then search for corresponding Views and ViewModel.

Declaration
void AttachAllAssembliesAtRuntime()

AttachAssembliesInDesignMode()

Loads assemblies in design mode.

Declaration
void AttachAssembliesInDesignMode()

AttachAssemblyToLookUpList(String)

Attaches the assembly with given assembly name to the list of assemblies that are being searched for Views and ViewModels.

Declaration
public void AttachAssemblyToLookUpList(string assemblyName)
Parameters
Type Name Description
System.String assemblyName

CreateContainer(FrameworkElement, FrameworkElement, IVortexElement, String, Boolean)

Declaration
FrameworkElement CreateContainer(FrameworkElement parentContainer, FrameworkElement previousContainer, IVortexElement vortexObject, string presentationType, bool preferCustomized)
Parameters
Type Name Description
System.Windows.FrameworkElement parentContainer
System.Windows.FrameworkElement previousContainer
IVortexElement vortexObject
System.String presentationType
System.Boolean preferCustomized
Returns
Type Description
System.Windows.FrameworkElement

CreateDefaultContainer()

Declaration
static FrameworkElement CreateDefaultContainer()
Returns
Type Description
System.Windows.FrameworkElement

CreatePresentation(Object, Object, Boolean, ReportingLevel, Int32, Boolean)

Creates presentation of IVortexObject or IValueTag of given presentation type.

Declaration
public object CreatePresentation(object presentationType, object vortexObject, bool preferCustomized = false, ReportingLevel reportingLevel = ReportingLevel.None, int maxObjectsInDesignMode = 25, bool cacheVisuals = true)
Parameters
Type Name Description
System.Object presentationType

Presentation type

System.Object vortexObject

Object to be represented.

System.Boolean preferCustomized

Instructs the renderer to prefer the use of layouting and other paramters from the customized control.

ReportingLevel reportingLevel

Reporting level.

System.Int32 maxObjectsInDesignMode

Max number of object to be displayed in design mode.

System.Boolean cacheVisuals

When true indicates that created visuals will be cached when first time created. This value is set to 'true' by default.

Returns
Type Description
System.Object

Visual representation of given presentation type for given object

DesignModeSettings()

Declaration
void DesignModeSettings()

EnvelopeIfNecessary(FrameworkElement, FrameworkElement, Object)

Declaration
FrameworkElement EnvelopeIfNecessary(FrameworkElement newContainer, FrameworkElement parentContainer, object parentHeader)
Parameters
Type Name Description
System.Windows.FrameworkElement newContainer
System.Windows.FrameworkElement parentContainer
System.Object parentHeader
Returns
Type Description
System.Windows.FrameworkElement

FindClosestModelViewInPipeline(String, Type)

Declaration
Type FindClosestModelViewInPipeline(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType
System.Type objType
Returns
Type Description
System.Type

FindClosestView(String, Type)

Declaration
Type FindClosestView(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType
System.Type objType
Returns
Type Description
System.Type

FindClosestViewInPipeline(String, Type)

Declaration
Type FindClosestViewInPipeline(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType
System.Type objType
Returns
Type Description
System.Type

FindClosestViewModel(String, Type)

Declaration
Type FindClosestViewModel(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType
System.Type objType
Returns
Type Description
System.Type

FrameworkElementLoaded(Object, RoutedEventArgs)

Declaration
void FrameworkElementLoaded(object sender, RoutedEventArgs e)
Parameters
Type Name Description
System.Object sender
System.Windows.RoutedEventArgs e

GetClosestView(String, Type)

Declaration
Type GetClosestView(string presentationType, Type type)
Parameters
Type Name Description
System.String presentationType
System.Type type
Returns
Type Description
System.Type

GetClosestViewModel(String, Type)

Declaration
Type GetClosestViewModel(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType
System.Type objType
Returns
Type Description
System.Type

GetContainerAttribute(IVortexElement, Boolean)

Declaration
PresentationContainerAttribute GetContainerAttribute(IVortexElement vortexObject, bool hasCustomizedView)
Parameters
Type Name Description
IVortexElement vortexObject
System.Boolean hasCustomizedView
Returns
Type Description
Vortex.Presentation.Attributes.PresentationContainerAttribute

GetEnumeratorDiscriminatorAttribute(IVortexElement)

Returns Enumerator description attribute for given member.

Declaration
public EnumeratorDiscriminatorAttribute GetEnumeratorDiscriminatorAttribute(IVortexElement vortexObject)
Parameters
Type Name Description
IVortexElement vortexObject

Object on which the attribute will be searched.

Returns
Type Description
EnumeratorDiscriminatorAttribute

GetGroupAttribute(IVortexElement, Boolean)

Declaration
PresentationGroupAttribute GetGroupAttribute(IVortexElement vortexObject, bool hasCustomizedView)
Parameters
Type Name Description
IVortexElement vortexObject
System.Boolean hasCustomizedView
Returns
Type Description
Vortex.Presentation.Attributes.PresentationGroupAttribute

GetGroupedProperies(Type, List<Renderer.BaseTypeProperies>)

Declaration
IEnumerable<Renderer.BaseTypeProperies> GetGroupedProperies(Type type, List<Renderer.BaseTypeProperies> properties = null)
Parameters
Type Name Description
System.Type type
System.Collections.Generic.List<Renderer.BaseTypeProperies> properties
Returns
Type Description
System.Collections.Generic.IEnumerable<Renderer.BaseTypeProperies>

GetHeader(IVortexElement, Object)

Declaration
static object GetHeader(IVortexElement vortexObject, object parentHeader = null)
Parameters
Type Name Description
IVortexElement vortexObject
System.Object parentHeader
Returns
Type Description
System.Object

GetIgnoreRenderingAttribute(IVortexElement)

Declaration
RenderIgnoreAttribute GetIgnoreRenderingAttribute(IVortexElement vortexObject)
Parameters
Type Name Description
IVortexElement vortexObject
Returns
Type Description
RenderIgnoreAttribute

GetPropertyViaSymbol(IVortexElement)

Locates property of IVortexObject via its symbol.

Declaration
public PropertyInfo GetPropertyViaSymbol(IVortexElement vortexObject)
Parameters
Type Name Description
IVortexElement vortexObject

IVortexObject of which property info is to be located via its symbol.

Returns
Type Description
System.Reflection.PropertyInfo

System.Reflection.PropertyInfo of the property located via symbol information.

GetReferencedAssemblies()

Returns lookup assemblies.

Declaration
public string GetReferencedAssemblies()
Returns
Type Description
System.String

String of lookup assemblies.

GetSortedProperties(IVortexElement, List<PropertyInfo>)

Declaration
IEnumerable<PropertyInfo> GetSortedProperties(IVortexElement vortexObject, List<PropertyInfo> properties = null)
Parameters
Type Name Description
IVortexElement vortexObject
System.Collections.Generic.List<System.Reflection.PropertyInfo> properties
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo>

GetSortedProperties(IVortexObject, List<PropertyInfo>)

Declaration
IEnumerable<PropertyInfo> GetSortedProperties(IVortexObject vortexObject, List<PropertyInfo> properties = null)
Parameters
Type Name Description
IVortexObject vortexObject
System.Collections.Generic.List<System.Reflection.PropertyInfo> properties
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Reflection.PropertyInfo>

GetTypeToCreate(String, String)

Declaration
Type GetTypeToCreate(string assembly, string fullTypeName)
Parameters
Type Name Description
System.String assembly
System.String fullTypeName
Returns
Type Description
System.Type

GetView(String, Type)

Gets the view of given presentation type for given object type.

Declaration
public Type GetView(string presentationType, Type objType)
Parameters
Type Name Description
System.String presentationType

Presentation type

System.Type objType

Object type

Returns
Type Description
System.Type

GetViewFromCache(String)

Declaration
Type GetViewFromCache(string fullSignature)
Parameters
Type Name Description
System.String fullSignature
Returns
Type Description
System.Type

GetViewModel(String, Type, Object)

Gets the view model for given object type and given presentation type.

Declaration
public RenderableViewModelBase GetViewModel(string presentationType, Type objType, object model)
Parameters
Type Name Description
System.String presentationType

Presentation type

System.Type objType

Object type

System.Object model

Model object

Returns
Type Description
Vortex.Presentation.RenderableViewModelBase

GetViewModelFromCache(String)

Declaration
Type GetViewModelFromCache(string fullSignature)
Parameters
Type Name Description
System.String fullSignature
Returns
Type Description
System.Type

HasIgnore(String, IVortexElement)

Declaration
bool HasIgnore(string presentationType, IVortexElement obj)
Parameters
Type Name Description
System.String presentationType
IVortexElement obj
Returns
Type Description
System.Boolean

InvalidLicenseView(String)

Declaration
static Panel InvalidLicenseView(string message)
Parameters
Type Name Description
System.String message
Returns
Type Description
System.Windows.Controls.Panel

IsDisplayable(List<Object>)

Declaration
bool IsDisplayable(List<object> attribs)
Parameters
Type Name Description
System.Collections.Generic.List<System.Object> attribs
Returns
Type Description
System.Boolean

IsEnumerator(IVortexElement)

Declaration
bool IsEnumerator(IVortexElement obj)
Parameters
Type Name Description
IVortexElement obj
Returns
Type Description
System.Boolean

IsObjectCountReached(ref Int32, Int32)

Declaration
bool IsObjectCountReached(ref int currentObjectCount, int maxObjectCount)
Parameters
Type Name Description
System.Int32 currentObjectCount
System.Int32 maxObjectCount
Returns
Type Description
System.Boolean

ProbeViewLocator(String, IVortexElement)

Declaration
Type ProbeViewLocator(string presentationType, IVortexElement obj)
Parameters
Type Name Description
System.String presentationType
IVortexElement obj
Returns
Type Description
System.Type

ProbeViewLocatorCreator(String, IVortexElement)

Declaration
Type ProbeViewLocatorCreator(string presentationType, IVortexElement element)
Parameters
Type Name Description
System.String presentationType
IVortexElement element
Returns
Type Description
System.Type

RendererBusy()

Declaration
void RendererBusy()

RendererDone()

Declaration
void RendererDone()

RenderPresentation(String, IValueTag, FrameworkElement, FrameworkElement, Int32, Int32, Boolean)

Declaration
FrameworkElement RenderPresentation(string presentationType, IValueTag valueTag, FrameworkElement container = null, FrameworkElement parentContainer = null, int objectCount = 0, int maxObjectsCount = 2147483647, bool preferCustomized = false)
Parameters
Type Name Description
System.String presentationType
IValueTag valueTag
System.Windows.FrameworkElement container
System.Windows.FrameworkElement parentContainer
System.Int32 objectCount
System.Int32 maxObjectsCount
System.Boolean preferCustomized
Returns
Type Description
System.Windows.FrameworkElement

RenderPresentation(String, IVortexObject, Boolean, FrameworkElement, FrameworkElement, Int32, Int32)

Declaration
[STAThread]
FrameworkElement RenderPresentation(string presentationType, IVortexObject vortexObject, bool preferCustomized, FrameworkElement container = null, FrameworkElement parentContainer = null, int objectCount = 0, int maxObjectsCount = 2147483647)
Parameters
Type Name Description
System.String presentationType
IVortexObject vortexObject
System.Boolean preferCustomized
System.Windows.FrameworkElement container
System.Windows.FrameworkElement parentContainer
System.Int32 objectCount
System.Int32 maxObjectsCount
Returns
Type Description
System.Windows.FrameworkElement

ReportErrorOnElementCreation(Exception, ReportingLevel)

Declaration
FrameworkElement ReportErrorOnElementCreation(Exception description, ReportingLevel messageSeverity)
Parameters
Type Name Description
System.Exception description
ReportingLevel messageSeverity
Returns
Type Description
System.Windows.FrameworkElement

ReportErrorOnElementCreation(TooManyObjectsToRenderException, ReportingLevel)

Declaration
FrameworkElement ReportErrorOnElementCreation(TooManyObjectsToRenderException exception, ReportingLevel messageSeverity)
Parameters
Type Name Description
TooManyObjectsToRenderException exception
ReportingLevel messageSeverity
Returns
Type Description
System.Windows.FrameworkElement

SecurityProvider_OnAnyAuthenticationEvent(String)

Declaration
void SecurityProvider_OnAnyAuthenticationEvent(string username)
Parameters
Type Name Description
System.String username

ViewViewModelLocator(String, IVortexElement)

Declaration
FrameworkElement ViewViewModelLocator(string presentationType, IVortexElement obj)
Parameters
Type Name Description
System.String presentationType
IVortexElement obj
Returns
Type Description
System.Windows.FrameworkElement

ViewViewModelLocatorCreator(String, IVortexElement)

Declaration
FrameworkElement ViewViewModelLocatorCreator(string presentationType, IVortexElement element)
Parameters
Type Name Description
System.String presentationType
IVortexElement element
Returns
Type Description
System.Windows.FrameworkElement

Extension Methods

AttributeStringFormatExtensions.AttributeFormatOrNull(Object)
In This Article
Back to top

Generated by DocFX | Developed with ❤ at MTS - putting the heart into manufacturing.