Jump to content
Paint.NET 5.1 is now available! ×

Recommended Posts

Posted

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?

Posted

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 ;-)

midoras signature.gif

Posted

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.
 

midoras signature.gif

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...