CustomActivity''s properties don''t save
I create a custom activity with somes properties, you can see the code for "Progress" here :
[Designer(typeof(ProgressTaskDesigner), typeof(IDesigner))]
public partial class ProgressTask : SequenceActivity
{
public static DependencyProperty ProgressProperty = System.Workflow.ComponentModel.DependencyProperty.Register("Progress", typeof(int), typeof(ProgressTask));
[Description("Progress %")]
[ValidationOption(ValidationOption.Required)]
[Browsable(true)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public int Progress
{
get { return ((int)(base.GetValue(ProgressTask.ProgressProperty))); }
set { base.SetValue(ProgressTask.ProgressProperty, value); }
}
...
So, I use it in a workflow and all work perfecly.
But when I save the workflow (with SqlWorkflowPersistenceService and SqlTrackingService) and i want to reload it form database with a Resume, the value of my propertie is always the default value !
How can I save and load it properly ?
Thanks

