Main Content

MATLAB Does Not Display Protected Properties

The System.Windows.Media.ContainerVisual class, available in .NET Framework Version 3.0 and above, has several protected properties. MATLAB® only displays public properties and fields. Type:

NET.addAssembly('PresentationCore');
properties('System.Windows.Media.ContainerVisual')

 Display Public Properties

To see how MATLAB handles property and field C# keywords, see How MATLAB Maps C# Property and Field Access Modifiers.