In the assembly environment there is a toggle button for Drop Shadow. I want to create a new assembly and turn off Drop Shadow there.
The ViewStyle object has a DropShadow property, but I don't know how to get one. There are properties like this
Public Property ViewStyles As Object but I am not clear how to use this.
Solved! Go to Solution.
I assume that was VB code there. I needed some type casting to get things working in C#. My code:
((doc.Windows.Item(1) as Window).View.ViewStyle as ViewStyle).DropShadow = 0;