How to use margin as property of WPF usercontrol?
public Double pCusSPAge
{
get
{
return btnCusSPAge.Margin.Left;
}
set
{
btnCusSPAge.Margin = new Thickness(value);
if (PropertyChanged != null)
PropertyChanged(this, new PropertyChangedEventArgs("pCusSPAge"));
}
}