I'm working on my first web part and was wondering if there is a way to create a custom resource (like a WPProperty) that would link CSS to the webpart just as you can control the XSLT of a XSLTViewPart (which, ironically I'm inheriting from). The reason for this is we're looking to make a shareable resource that would work with different lists that we want to represent differently.
I was thinking of adding a CSSLink or CSSRegistration into the code-behind, but then I thought it would be packaged along with the .DLL and not editable. Am I wrong?