Class RenderContentConverter
Value Converter provides rendering of
Inheritance
System.Object
System.Windows.Markup.MarkupExtension
RenderContentConverter
Implements
System.Windows.Data.IValueConverter
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Vortex.Presentation.Wpf
Assembly: Vortex.Presentation.Wpf.dll
Syntax
public class RenderContentConverter : MarkupExtension, IValueConverter
Properties
MaxCountInDesignMode
Gets or sets maximum number of object rendered in Design mode.
Declaration
public int MaxCountInDesignMode { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ParentContainer
Gets or sets the parent container for the content rendered by this converter.
Declaration
public FrameworkElement ParentContainer { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.FrameworkElement |
PreferCustomized
Declaration
public bool PreferCustomized { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
PresentationType
Gets or sets presentation type of the content rendered by this converter.
Declaration
public string PresentationType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ReportingLevel
Gets or sets reporting level of possible messages or errors that might be produced by the rendering process.
Declaration
public int ReportingLevel { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Convert(Object, Type, Object, CultureInfo)
Converts an object that derives form IVortexObject or IValueTag into UI representation following 'PresentationType' pipeline.
Declaration
public virtual object Convert(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | object IVortexObject or IValueTag |
System.Type | targetType | Target type |
System.Object | parameter | Presentation type |
System.Globalization.CultureInfo | culture | Culture |
Returns
Type | Description |
---|---|
System.Object | System.Windows.FrameworkElement |
ConvertBack(Object, Type, Object, CultureInfo)
Not implemented for RenderContentConverter
Declaration
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | |
System.Type | targetType | |
System.Object | parameter | |
System.Globalization.CultureInfo | culture |
Returns
Type | Description |
---|---|
System.Object |
ProvideValue(IServiceProvider)
Provides instance of this RenderContentConverter
Declaration
public override object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type | Name | Description |
---|---|---|
System.IServiceProvider | serviceProvider | Service provider. |
Returns
Type | Description |
---|---|
System.Object |
Overrides
System.Windows.Markup.MarkupExtension.ProvideValue(System.IServiceProvider)
Implements
System.Windows.Data.IValueConverter