/// <summary> /// Registered factory creation method /// </summary> /// <param name="aArgs"> /// Arguments <see cref="FactoryInvocationArgs"/> /// </param> /// <returns> /// Result widget <see cref="IMappedColumnItem"/> /// </returns> public static IMappedColumnItem DefaultFactoryCreate (FactoryInvocationArgs aArgs) { IMappedColumnItem wdg = new MappedCellRendererTime(); // if (aArgs.State == PropertyDefinition.ReadOnly) wdg.MappedTo = aArgs.PropertyName; return (wdg); }
/// <summary> /// Registered factory creation method /// </summary> /// <param name="aArgs"> /// Arguments <see cref="FactoryInvocationArgs"/> /// </param> /// <returns> /// Result widget <see cref="IMappedColumnItem"/> /// </returns> public static IMappedColumnItem DefaultFactoryCreate(FactoryInvocationArgs aArgs) { IMappedColumnItem wdg = new MappedCellRendererTime(); // if (aArgs.State == PropertyDefinition.ReadOnly) wdg.MappedTo = aArgs.PropertyName; return(wdg); }