Katai Posted February 13, 2013 Posted February 13, 2013 I'm pretty sure this is supported, but I've seen zero sample code on how to go about this? Could someone give me a snip of code to help get me started? Quote
midora Posted February 13, 2013 Posted February 13, 2013 IndirectUI and PropertyBasedEffect are connected strongly. Quote
midora Posted February 13, 2013 Posted February 13, 2013 Sorry, about this compact answer. PropertyBasedEffect provides the method OnCreatePropertyCollection() which allows you to return properties as IndirectUi objects plus rules how these objects depend on each other. There is nothing like this for filetype plugins. But maybe I'm wrong.Rick would say: Use Reflector to check ;-) Quote
Rick Brewster Posted February 13, 2013 Posted February 13, 2013 Umm, yes there is midora. It's called PropertyBasedFileType. Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html
midora Posted February 13, 2013 Posted February 13, 2013 Thanks for the tip, Glad to be wrong. Never seen an example or documentation using it. So you can derive you filetype from PropertyBasedFileType and add properties (indirectUI controls) in OnCreateSavePropertyCollection(). Just to answer the initial question. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.