1 write to _ownerComponent
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (1)
24
_ownerComponent
= owner.Component as Component;
7 references to _ownerComponent
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\SplitContainerDesigner.OrientationActionList.cs (7)
26
if (
_ownerComponent
is not null)
28
PropertyDescriptor? orientationProp = TypeDescriptor.GetProperties(
_ownerComponent
)["Orientation"];
31
bool needsVertical = ((Orientation)orientationProp.GetValue(
_ownerComponent
)!) == Orientation.Horizontal;
50
PropertyDescriptor? orientationProp = TypeDescriptor.GetProperties(
_ownerComponent
!)["Orientation"];
51
if (orientationProp is not null && ((Orientation)orientationProp.GetValue(
_ownerComponent
)!) != orientation)
53
orientationProp.SetValue(
_ownerComponent
, orientation);
57
actionUIService.Refresh(
_ownerComponent
);