Decorates a public property in a ViewComponent
to have the framework automatically bind the value using
the ComponentParams dictionary.
By default The property name is going to be used as a key to query the params.
Namespace: Castle.MonoRail.Framework
You can also use the Required property to define that a property is non-optional.
Assembly: Castle.MonoRail.Framework (in Castle.MonoRail.Framework.dll)
Version: 1.0.3.0
Syntax
| C# |
|---|
[SerializableAttribute] [AttributeUsageAttribute(AttributeTargets.Property, AllowMultiple = false, Inherited = true)] public class ViewComponentParamAttribute : Attribute |
Inheritance Hierarchy
See Also
ViewComponentParamAttribute Members
Castle.MonoRail.Framework Namespace