Castle.MonoRail.Framework.Views.Aspx.EventListConverter.GetStandardValuesSupported C# (CSharp) Method

GetStandardValuesSupported() public method

Returns whether this object supports a standard set of values that can be picked from a list, using the specified context.
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext An that provides a format context.
return bool
		public override bool GetStandardValuesSupported(ITypeDescriptorContext context)
		{
			if (context != null)
			{
				ActionBinding binding = context.Instance as ActionBinding;

				return (binding != null) && (binding.Parent != null);
			}

			return false;
		}