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
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public sealed class LazyRenderer
Constructors
LazyRenderer()
Declaration
Fields
_instance
Declaration
static LazyRenderer _instance
Field Value
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
Declaration
public static LazyRenderer Get { get; }
Property Value
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