This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi I am creating my custom visual, it works fine except I'd like to set the border on as default. How do I do it in the code behind?Thanks
Solved! Go to Solution.
Hi @Anonymous ,
I've asked a similar question previously and the answer is that defaults cannot be controlled via the framework. It is possible to 'overload' properties into these menus but they will not respond to other settings that are part of core Power BI properties (such as turning the menu off/on).
Not the answer you were after, but might help with starting to find an alternate approach to fit your requirements.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @Anonymous ,
I've asked a similar question previously and the answer is that defaults cannot be controlled via the framework. It is possible to 'overload' properties into these menus but they will not respond to other settings that are part of core Power BI properties (such as turning the menu off/on).
Not the answer you were after, but might help with starting to find an alternate approach to fit your requirements.
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 9 | |
| 5 | |
| 3 | |
| 3 | |
| 2 |