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

Extended content control that allows to render objects deriving form IVortexObject or IValueTag into UI Content.

Inheritance
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
RenderableContentControl
RenderableContentDelayedControl
Implements
System.ComponentModel.ISupportInitialize
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class RenderableContentControl : ContentControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild
Examples

Constructors

RenderableContentControl()

Creates new instance of RenderableContentControl

Declaration
public RenderableContentControl()

Fields

ContainerProperty

Gets or sets the container in which the content is rendered.

Declaration
public static readonly DependencyProperty ContainerProperty
Field Value
Type Description
System.Windows.DependencyProperty

DesignTime

Determines whether the object is in Design Mode.

Declaration
protected bool DesignTime
Field Value
Type Description
System.Boolean

MaxObjectsInDesignModeProperty

Gets or sets maximal number of object to be rendered in design mode.

Declaration
public static readonly DependencyProperty MaxObjectsInDesignModeProperty
Field Value
Type Description
System.Windows.DependencyProperty

PreferCustomizedProperty

Gets or sets weather the render should prefer cusomized view layout over default.

Declaration
public static readonly DependencyProperty PreferCustomizedProperty
Field Value
Type Description
System.Windows.DependencyProperty

PresentationTypeProperty

Gets or sets the presentation type for the content rendered by this RenderableContentControl. PresentationType defines the pipeline to be followed by the Renderer to deliver desired content in desired form.

Declaration
public static readonly DependencyProperty PresentationTypeProperty
Field Value
Type Description
System.Windows.DependencyProperty
See Also
Renderer
RenderableViewModel

ReportingLevelProperty

Gets or sets reporting level of possible messages or errors that might be produced by the rendering process.

Declaration
public static readonly DependencyProperty ReportingLevelProperty
Field Value
Type Description
System.Windows.DependencyProperty

RootContainerProperty

Declaration
public static readonly DependencyProperty RootContainerProperty
Field Value
Type Description
System.Windows.DependencyProperty

RunTime

Declaration
protected bool RunTime
Field Value
Type Description
System.Boolean

Properties

Container

Gets or sets the container in which the content is rendered.

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

MaxObjectsInDesignMode

Gets or sets maximal number of object to be rendered in design mode.

Declaration
public int MaxObjectsInDesignMode { get; set; }
Property Value
Type Description
System.Int32

PreferCustomized

Gets or sets weather the render should prefer cusomized view layout over default.

Declaration
public bool PreferCustomized { get; set; }
Property Value
Type Description
System.Boolean

PresentationType

Gets or sets the presentation type for the content rendered by this RenderableContentControl. PresentationType defines the pipeline to be followed by the Renderer to deliver desired content in desired form.

Declaration
public string PresentationType { get; set; }
Property Value
Type Description
System.String
See Also
Renderer
RenderableViewModel

ReportingLevel

Gets or sets reporting level of possible messages or errors that might be produced by the rendering process.

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

RootContainer

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

Methods

ClearContainer()

Clears the content of the container of this RenderableContentControl.

Declaration
protected void ClearContainer()

Create(IVortexObject, String)

Create representation of an object according the PresentationType

Declaration
public static RenderableContentControl Create(IVortexObject obj, string presentationType)
Parameters
Type Name Description
IVortexObject obj

IVortexObject to be rendered.

System.String presentationType

Presentation type (e.g. 'Display', 'Control')

Returns
Type Description
RenderableContentControl

Rendered presentation of given object.

Examples
See Also
RenderableViewModel
RenderContentConverter
Renderer

OnPresentationDataChanged(DependencyObject, DependencyPropertyChangedEventArgs)

Declaration
static void OnPresentationDataChanged(DependencyObject sender, DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Windows.DependencyObject sender
System.Windows.DependencyPropertyChangedEventArgs e

RenderableContentControl_DataContextChanged(Object, DependencyPropertyChangedEventArgs)

Executes when 'DataContext' of this RenderableContentControl changes.

Declaration
protected void RenderableContentControl_DataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Object sender

Sender object.

System.Windows.DependencyPropertyChangedEventArgs e

Event arguments.

RenderableContentControl_IsVisibleChanged(Object, DependencyPropertyChangedEventArgs)

Executes when IsVisible property of this RenderableContentControl changes.

Declaration
protected void RenderableContentControl_IsVisibleChanged(object sender, DependencyPropertyChangedEventArgs e)
Parameters
Type Name Description
System.Object sender

Sender object.

System.Windows.DependencyPropertyChangedEventArgs e

Event arguments.

RenderableContentControl_RequestBringIntoView(Object, RequestBringIntoViewEventArgs)

Executes when this RenderableContentControl is requested to be brought into view.

Declaration
protected void RenderableContentControl_RequestBringIntoView(object sender, RequestBringIntoViewEventArgs e)
Parameters
Type Name Description
System.Object sender
System.Windows.RequestBringIntoViewEventArgs e

RenderContent()

Renders content of this RenderableContentControl form the object stored in 'DataContext' property.

Declaration
protected virtual void RenderContent()

SetUpUpdateConditions()

Declaration
void SetUpUpdateConditions()

Implements

System.ComponentModel.ISupportInitialize

Extension Methods

AttributeStringFormatExtensions.AttributeFormatOrNull(Object)

See Also

RenderableViewModel
RenderContentConverter
Renderer
In This Article
Back to top

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