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
912
vs2013 copy/paste doesn't copy ultrabutton appearance
posted

using VB.Net on VS2013 I tried to copy an object (in this case, an infragistics ultrabutton). When I paste it, the new button does not have any of the original appearances. Previously, when copying/pasting, it would copy the appearance attributes also. I recently changed from Win7 to Win10 so that might have something to do with it. Examination shows that the Appearance property is not copying the entry from the appearance collection that was associated with the original ultrabutton.  After manually setting the appearance to the appropriate collection entity the button looks as it should.  Why might the appearance not be copied?

  • 469350
    Offline posted

    I can't think of any reason why just the Appearances would fail to copy. 

    Are you copying to and from the same form? To a different form in the same project? To a form in another project? To a form in a different instance of Visual Studio? 

    What kinds of properties are you setting on the appearance? Colors? Images? Are you using an ImageList? 

    My best guess, with so little to go on, is that there's some kind of version conflict going on. Like the target you are pasting to has a different version of the Infragistics assemblies than the source. 

  • 7555
    Offline posted

    Hello Ron,

    I have been investigating into the behavior you are describing, May I know if you are trying to paste into same version of visual studio or some other version?

    Try copy paste into the same instance of VS and test if you are able to reproduce the issue?

    Also may I know which version of control you are using?