Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
525
clone a WPF Control (XamGrid)
posted

I want to clone a WPF Control (XamGrid)

I know these ways:

  1. Clone Problem: Control is not Cloneable

  2. can be a solution?

    public class DataManagerControlClonableXamGrid : XamGrid, ICloneable

        { 

        public object Clone()

            {

             return MemberwiseClone();

            }

        }

    the purpose is to get a new class instance with a new pointer, as the original xamgrid filtered and sorted data,     thanks for your response.