Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 11 | |
| 6 | |
| 4 | |
| 4 | |
| 3 |