• 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 LazyRenderer

Provides visual rendering that creates containers of which content is rendering delayed until the actual view is made visible.

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

Constructors

LazyRenderer()

Declaration
LazyRenderer()

Fields

_instance

Declaration
static LazyRenderer _instance
Field Value
Type Description
LazyRenderer

mutex

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

ValidationResult

Declaration
static Either<LicencingError, LicencingSucess> ValidationResult
Field Value
Type Description
Inxton.Licencing.Either<Inxton.Licencing.LicencingError, Inxton.Licencing.LicencingSucess>

Properties

DefaultContainer

Declaration
public FrameworkElement DefaultContainer { get; set; }
Property Value
Type Description
System.Windows.FrameworkElement

Get

Gets singleton instance of Renderer

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

Methods

CreateDefaultContainer()

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

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

Creates pre-rendered containers that are fully rendered when made visible.

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

Presentation type

System.Object vortexObject

Object which should be visually represented.

System.Windows.FrameworkElement rootContainer

Optionaly provides root container when the default option is not desirable.

System.Boolean preferCustomized

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

ReportingLevel reportingLevel

Reporting level ReportingLevel

System.Int32 maxObjectsInDesignMode

Max object that should be rendered in design mode.

Returns
Type Description
System.Object

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

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

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

Declaration
FrameworkElement CreatePresentation(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

Render(String, Object, FrameworkElement, Boolean, ReportingLevel, Int32)

Declaration
object Render(string presentationType, object vortexObject, FrameworkElement parentContainer, bool preferCustomized, ReportingLevel reportingLevel = ReportingLevel.None, int maxObjectsInDesignMode = 25)
Parameters
Type Name Description
System.String presentationType
System.Object vortexObject
System.Windows.FrameworkElement parentContainer
System.Boolean preferCustomized
ReportingLevel reportingLevel
System.Int32 maxObjectsInDesignMode
Returns
Type Description
System.Object

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

Declaration
[STAThread]
FrameworkElement RenderPresentation(string presentationType, IValueTag valueTag, FrameworkElement parentContainer = null, int objectCount = 0, int maxObjectsCount = 2147483647)
Parameters
Type Name Description
System.String presentationType
IValueTag valueTag
System.Windows.FrameworkElement parentContainer
System.Int32 objectCount
System.Int32 maxObjectsCount
Returns
Type Description
System.Windows.FrameworkElement

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

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

SetRenderableContainer(FrameworkElement, IVortexElement, String, Object)

Declaration
bool SetRenderableContainer(FrameworkElement container, IVortexElement vortexObject, string presentationType, object parentHeader = null)
Parameters
Type Name Description
System.Windows.FrameworkElement container
IVortexElement vortexObject
System.String presentationType
System.Object parentHeader
Returns
Type Description
System.Boolean

Extension Methods

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

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