386 references to Properties
System.Windows.Forms (386)
winforms\Managed\System\WinForms\ComboBox.cs (26)
500
int drawMode =
Properties
.GetInteger(PropDrawMode, out found);
514
Properties
.SetInteger(PropDrawMode, (int)value);
531
int dropDownWidth =
Properties
.GetInteger(PropDropDownWidth, out found);
545
if (
Properties
.GetInteger(PropDropDownWidth) != value) {
546
Properties
.SetInteger(PropDropDownWidth, value);
568
int dropDownHeight =
Properties
.GetInteger(PropDropDownHeight, out found);
580
if (
Properties
.GetInteger(PropDropDownHeight) != value) {
581
Properties
.SetInteger(PropDropDownHeight, value);
727
int itemHeight =
Properties
.GetInteger(PropItemHeight, out found);
753
if (
Properties
.GetInteger(PropItemHeight) != value) {
754
Properties
.SetInteger(PropItemHeight, value);
787
string matchingText = (string)
Properties
.GetObject(PropMatchingText);
791
if (value != null || this.
Properties
.ContainsObject(PropMatchingText)) {
792
Properties
.SetObject(PropMatchingText, value);
847
return
Properties
.GetInteger(PropMaxLength);
852
Properties
.SetInteger(PropMaxLength, value);
1224
int style =
Properties
.GetInteger(PropStyle, out found);
1250
Properties
.SetInteger(PropStyle, (int)value);
2465
int dropDownWidth =
Properties
.GetInteger(PropDropDownWidth, out found);
2471
int itemHeight =
Properties
.GetInteger(PropItemHeight, out found);
3128
Properties
.RemoveInteger(PropDropDownWidth);
3132
Properties
.RemoveInteger(PropItemHeight);
3334
return (
Properties
.ContainsInteger(PropDropDownWidth));
3341
return (
Properties
.ContainsInteger(PropItemHeight));
5895
FlatComboAdapter comboAdapter =
Properties
.GetObject(PropFlatComboAdapter) as FlatComboAdapter;
5898
Properties
.SetObject(PropFlatComboAdapter, comboAdapter);
winforms\Managed\System\WinForms\ContainerControl.cs (4)
607
((AxHost.AxContainer)
Properties
.GetObject(PropAxContainer)).FormCreated();
625
object aXContainer =
Properties
.GetObject(PropAxContainer);
628
Properties
.SetObject(PropAxContainer, aXContainer);
871
if (
Properties
.GetObject(PropAxContainer) != null) {
winforms\Managed\System\WinForms\Control.cs (168)
611
AccessibleObject accessibleObject = (AccessibleObject)
Properties
.GetObject(PropAccessibility);
620
Properties
.SetObject(PropAccessibility, accessibleObject);
634
AccessibleObject ncAccessibleObject = (AccessibleObject)
Properties
.GetObject(PropNcAccessibility);
637
Properties
.SetObject(PropNcAccessibility, ncAccessibleObject);
696
return (string)
Properties
.GetObject(PropAccessibleDefaultActionDescription);
699
Properties
.SetObject(PropAccessibleDefaultActionDescription, value);
715
return (string)
Properties
.GetObject(PropAccessibleDescription);
718
Properties
.SetObject(PropAccessibleDescription, value);
734
return (string)
Properties
.GetObject(PropAccessibleName);
738
Properties
.SetObject(PropAccessibleName, value);
755
int role =
Properties
.GetInteger(PropAccessibleRole, out found);
769
Properties
.SetInteger(PropAccessibleRole, (int)value);
832
ActiveXImpl activeXImpl = (ActiveXImpl)
Properties
.GetObject(PropActiveXImpl);
847
Properties
.SetObject(PropActiveXImpl, activeXImpl);
903
AmbientProperties props = (AmbientProperties)
Properties
.GetObject(PropAmbientPropertiesService, out contains);
913
Properties
.SetObject(PropAmbientPropertiesService, props);
994
if (
Properties
.ContainsObject(PropAutoScrollOffset)) {
995
return (Point)
Properties
.GetObject(PropAutoScrollOffset);
1001
Properties
.SetObject(PropAutoScrollOffset, value);
1030
object customBackBrush =
Properties
.GetObject(PropBackBrush);
1038
if (!
Properties
.ContainsObject(PropBackColor)) {
1065
Properties
.SetObject(PropBackBrush, backBrush);
1119
if (!value.IsEmpty ||
Properties
.ContainsObject(PropBackColor)) {
1120
Properties
.SetColor(PropBackColor, value);
1155
return (Image)
Properties
.GetObject(PropBackgroundImage);
1159
Properties
.SetObject(PropBackgroundImage, value);
1191
bool found =
Properties
.ContainsObject(PropBackgroundImageLayout);
1196
return ((ImageLayout)
Properties
.GetObject(PropBackgroundImageLayout));
1214
Properties
.SetObject(PropBackgroundImageLayout, value);
1262
ControlBindingsCollection bindings = (ControlBindingsCollection)
Properties
.GetObject(PropBindings);
1280
BindingContext context = (BindingContext)
Properties
.GetObject(PropBindingManager);
1298
BindingContext oldContext = (BindingContext)
Properties
.GetObject(PropBindingManager);
1302
Properties
.SetObject(PropBindingManager, newContext);
1538
int cacheTextCounter =
Properties
.GetInteger(PropCacheTextCount, out found);
1554
int cacheTextCounter =
Properties
.GetInteger(PropCacheTextCount, out found);
1558
Properties
.SetObject(PropCacheTextField, text);
1568
text = (string)
Properties
.GetObject(PropCacheTextField, out found);
1571
Properties
.SetInteger(PropCacheTextCount, cacheTextCounter);
1702
return (ContextMenu)
Properties
.GetObject(PropContextMenu);
1705
ContextMenu oldValue = (ContextMenu)
Properties
.GetObject(PropContextMenu);
1714
Properties
.SetObject(PropContextMenu, value);
1757
return (ContextMenuStrip)
Properties
.GetObject(PropContextMenuStrip);
1760
ContextMenuStrip oldValue =
Properties
.GetObject(PropContextMenuStrip) as ContextMenuStrip;
1769
Properties
.SetObject(PropContextMenuStrip, value);
1805
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
1809
Properties
.SetObject(PropControlsCollection, controlsCollection);
2045
Cursor cursor = (Cursor)
Properties
.GetObject(PropCursor);
2071
Cursor localCursor = (Cursor)
Properties
.GetObject(PropCursor);
2077
Properties
.SetObject(PropCursor, value);
2130
ControlBindingsCollection bindings = (ControlBindingsCollection)
Properties
.GetObject(PropBindings);
2134
Properties
.SetObject(PropBindings, bindings);
2309
if (
Properties
.ContainsObject(PropFontHandleWrapper)) {
2310
FontHandleWrapper fontHandle =
Properties
.GetObject(PropFontHandleWrapper) as FontHandleWrapper;
2314
Properties
.SetObject(PropFontHandleWrapper, null);
2500
Font font = (Font)
Properties
.GetObject(PropFont);
2526
Font local = (Font)
Properties
.GetObject(PropFont);
2547
Properties
.SetObject(PropFont, value);
2558
if (
Properties
.ContainsInteger(PropFontHeight)) {
2559
Properties
.SetInteger(PropFontHeight, (value == null) ? -1 : value.Height);
2581
Font local = (Font)
Properties
.GetObject(PropFont);
2588
Properties
.SetObject(PropFont, newFont);
2593
if (
Properties
.ContainsInteger(PropFontHeight)) {
2594
Properties
.SetInteger(PropFontHeight, newFont.Height);
2616
Font font = (Font)
Properties
.GetObject(PropFont);
2619
FontHandleWrapper fontHandle = (FontHandleWrapper)
Properties
.GetObject(PropFontHandleWrapper);
2623
Properties
.SetObject(PropFontHandleWrapper, fontHandle);
2639
Font currentAmbient = (Font)
Properties
.GetObject(PropCurrentAmbientFont);
2642
fontHandle = (FontHandleWrapper)
Properties
.GetObject(PropFontHandleWrapper);
2645
Properties
.SetObject(PropCurrentAmbientFont, ambient.Font);
2652
Properties
.SetObject(PropFontHandleWrapper, fontHandle);
2669
int fontHeight =
Properties
.GetInteger(PropFontHeight, out found);
2674
Font font = (Font)
Properties
.GetObject(PropFont);
2677
Properties
.SetInteger(PropFontHeight, fontHeight);
2692
Properties
.SetInteger(PropFontHeight, localFontHeight);
2698
Properties
.SetInteger(PropFontHeight, value);
2713
Color color =
Properties
.GetColor(PropForeColor);
2743
if (!value.IsEmpty ||
Properties
.ContainsObject(PropForeColor)) {
2744
Properties
.SetColor(PropForeColor, value);
2891
ControlCollection controls = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
3397
string name = (string)
Properties
.GetObject(PropName);
3412
Properties
.SetObject(PropName, null);
3415
Properties
.SetObject(PropName, value);
3507
return
Properties
.GetColor(PropBackColor);
3564
return (Region)
Properties
.GetObject(PropRegion);
3574
Properties
.SetObject(PropRegion, value);
3744
int rightToLeft =
Properties
.GetInteger(PropRightToLeft, out found);
3769
if (
Properties
.ContainsInteger(PropRightToLeft) || value != RightToLeft.Inherit) {
3770
Properties
.SetInteger(PropRightToLeft, (int)value);
3832
bool checkFont = !
Properties
.ContainsObject(PropFont);
3833
bool checkBackColor = !
Properties
.ContainsObject(PropBackColor);
3834
bool checkForeColor = !
Properties
.ContainsObject(PropForeColor);
3835
bool checkCursor = !
Properties
.ContainsObject(PropCursor);
3858
Properties
.SetObject(PropAmbientPropertiesService, newAmbients);
4020
return
Properties
.GetObject(PropUserData);
4023
Properties
.SetObject(PropUserData, value);
4065
ActiveXImpl activeXImpl = (ActiveXImpl)ctl.
Properties
.GetObject(PropActiveXImpl);
4299
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
4322
if (
Properties
.ContainsInteger(PropUseCompatibleTextRendering)){
4324
int value =
Properties
.GetInteger(PropUseCompatibleTextRendering, out found);
4334
Properties
.SetInteger(PropUseCompatibleTextRendering, value ? 1 : 0);
4355
ControlVersionInfo info = (ControlVersionInfo)
Properties
.GetObject(PropControlVersionInfo);
4358
Properties
.SetObject(PropControlVersionInfo, info);
5518
if (
Properties
.GetObject(PropBindingManager) == null && this.Created) {
5852
if (
Properties
.GetObject(PropBindingManager) == null && ParentInternal != null && !controlIsAlreadyCreated) {
5888
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
5996
object backBrush =
Properties
.GetObject(PropBackBrush);
6002
Properties
.SetObject(PropBackBrush, null);
6025
ContextMenu contextMenu = (ContextMenu)
Properties
.GetObject(PropContextMenu);
6038
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
6050
Properties
.SetObject(PropControlsCollection, null);
6081
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
6837
ControlCollection ctlControls = (ControlCollection)this.
Properties
.GetObject(PropControlsCollection);
6874
ControlCollection ctlControls = (ControlCollection)ctl.
Properties
.GetObject(PropControlsCollection);
6895
ControlCollection parentControls = (ControlCollection)p.
Properties
.GetObject(PropControlsCollection);
6958
ControlCollection parentControls = (ControlCollection)p.
Properties
.GetObject(PropControlsCollection);
7019
ControlCollection ctlControls = (ControlCollection)ctl.
Properties
.GetObject(PropControlsCollection);
7025
ctlControls = (ControlCollection)ctl.
Properties
.GetObject(PropControlsCollection);
7544
Font font = (Font)
Properties
.GetObject(PropFont);
7795
ActiveXImpl activeXImpl = (ActiveXImpl)
Properties
.GetObject(PropActiveXImpl);
7966
object backBrush =
Properties
.GetObject(PropBackBrush);
7974
Properties
.SetObject(PropBackBrush, null);
7984
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8013
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8050
if (
Properties
.GetObject(PropBindings) != null) {
8059
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8132
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8185
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8215
if (
Properties
.ContainsInteger(PropFontHeight)) {
8216
Properties
.SetInteger(PropFontHeight, -1);
8233
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8267
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8300
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8329
Color backColor =
Properties
.GetColor(PropBackColor);
8352
if (
Properties
.GetObject(PropBindingManager) == null) {
8364
if (
Properties
.GetObject(PropCursor) == null) {
8388
if (
Properties
.GetObject(PropFont) == null) {
8446
Color foreColor =
Properties
.GetColor(PropForeColor);
8459
if (!
Properties
.ContainsInteger(PropRightToLeft) || ((RightToLeft)
Properties
.GetInteger(PropRightToLeft)) == RightToLeft.Inherit) {
8480
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8608
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8628
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
8743
Region region = (Region)
Properties
.GetObject(PropRegion);
8766
ControlAccessibleObject accObj =
Properties
.GetObject(PropAccessibility) as ControlAccessibleObject;
8767
ControlAccessibleObject ncAccObj =
Properties
.GetObject(PropNcAccessibility) as ControlAccessibleObject;
8872
object backBrush =
Properties
.GetObject(PropBackBrush);
8878
Properties
.SetObject(PropBackBrush, null);
9068
ControlCollection controls = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
9534
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
10325
ContextMenu contextMenu = (ContextMenu)
Properties
.GetObject(PropContextMenu);
10987
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
11216
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
11315
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
11384
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
11409
if (DpiHelper.EnableDpiChangedHighDpiImprovements && !GetStyle(ControlStyles.UserPaint) && (
Properties
.GetObject(PropFont) == null)) {
11597
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
12246
Color backColor =
Properties
.GetColor(PropBackColor);
12257
object cursor =
Properties
.GetObject(PropCursor, out found);
12275
Color foreColor =
Properties
.GetColor(PropForeColor);
12286
object font =
Properties
.GetObject(PropFont, out found);
12297
int rtl =
Properties
.GetInteger(PropRightToLeft, out found);
12853
ContextMenu contextMenu =
Properties
.GetObject(PropContextMenu) as ContextMenu;
12855
:
Properties
.GetObject(PropContextMenuStrip) as ContextMenuStrip;
12986
ContextMenu contextMenu = (ContextMenu)
Properties
.GetObject(PropContextMenu);
13165
ContextMenu contextMenu = (ContextMenu)
Properties
.GetObject(PropContextMenu);
13430
Font local = (Font)
Properties
.GetObject(PropFont);
14459
ControlCollection controlsCollection = (ControlCollection)
Properties
.GetObject(PropControlsCollection);
14491
get { return
Properties
; }
winforms\Managed\System\WinForms\Control.Ime.cs (10)
102
ImeMode cachedImeMode = (ImeMode)
Properties
.GetInteger( PropImeMode, out found );
139
Properties
.SetInteger( PropImeMode, (int) value );
195
int val = (int)
Properties
.GetInteger( PropDisableImeModeChangedCount, out dummy );
205
Properties
.SetInteger(PropDisableImeModeChangedCount, value);
354
return
Properties
.GetInteger( PropImeWmCharsToIgnore );
363
Properties
.SetInteger( PropImeWmCharsToIgnore, value );
382
int val = (int)
Properties
.GetInteger( PropLastCanEnableIme, out valueFound );
398
Properties
.SetInteger( PropLastCanEnableIme, value ? 1 : 0 );
658
int imeMode =
Properties
.GetInteger( PropImeMode, out found );
822
Properties
.SetInteger( PropImeWmCharsToIgnore, ImeCharsToIgnoreEnabled );
winforms\Managed\System\WinForms\Form.cs (131)
348
return (IButtonControl)
Properties
.GetObject(PropAcceptButton);
352
Properties
.SetObject(PropAcceptButton, value);
486
return (Form)
Properties
.GetObject(PropActiveMdiChild);
490
Properties
.SetObject(PropActiveMdiChild, value);
500
return (Form)
Properties
.GetObject(PropFormerlyActiveMdiChild);
505
Properties
.SetObject(PropFormerlyActiveMdiChild, value);
536
if (
Properties
.ContainsObject(PropOpacity)) {
537
Properties
.SetObject(PropOpacity, (object)1.0f);
539
if (
Properties
.ContainsObject(PropTransparencyKey)) {
540
Properties
.SetObject(PropTransparencyKey, Color.Empty);
924
return (IButtonControl)
Properties
.GetObject(PropCancelButton);
927
Properties
.SetObject(PropCancelButton, value);
1012
IWin32Window dialogOwner = (IWin32Window)
Properties
.GetObject(PropDialogOwner);
1038
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
1377
return (
Properties
.GetObject(PropFormMdiParent) != null);
1385
if (this.
Properties
.ContainsObject(PropMdiChildFocusable)) {
1386
return (bool) this.
Properties
.GetObject(PropMdiChildFocusable);
1392
this.
Properties
.SetObject(PropMdiChildFocusable, value);
1534
return
Properties
.GetRectangle(PropMaximizedBounds);
1538
Properties
.SetRectangle(PropMaximizedBounds, value);
1576
if (
Properties
.ContainsInteger(PropMaxTrackSizeWidth)) {
1577
return new Size(
Properties
.GetInteger(PropMaxTrackSizeWidth),
Properties
.GetInteger(PropMaxTrackSizeHeight));
1588
Properties
.SetInteger(PropMaxTrackSizeWidth, value.Width);
1589
Properties
.SetInteger(PropMaxTrackSizeHeight, value.Height);
1595
if (
Properties
.GetInteger(PropMinTrackSizeWidth) > value.Width) {
1596
Properties
.SetInteger(PropMinTrackSizeWidth, value.Width);
1599
if (
Properties
.GetInteger(PropMinTrackSizeHeight) > value.Height) {
1600
Properties
.SetInteger(PropMinTrackSizeHeight, value.Height);
1638
return (MenuStrip)
Properties
.GetObject(PropMainMenuStrip);
1641
Properties
.SetObject(PropMainMenuStrip, value);
1691
return (MainMenu)
Properties
.GetObject(PropMainMenu);
1701
Properties
.SetObject(PropMainMenu, value);
1734
if (
Properties
.ContainsInteger(PropMinTrackSizeWidth)) {
1735
return new Size(
Properties
.GetInteger(PropMinTrackSizeWidth),
Properties
.GetInteger(PropMinTrackSizeHeight));
1752
Properties
.SetInteger(PropMinTrackSizeWidth, value.Width);
1753
Properties
.SetInteger(PropMinTrackSizeHeight, value.Height);
1759
if (
Properties
.GetInteger(PropMaxTrackSizeWidth) < value.Width) {
1760
Properties
.SetInteger(PropMaxTrackSizeWidth, value.Width);
1763
if (
Properties
.GetInteger(PropMaxTrackSizeHeight) < value.Height) {
1764
Properties
.SetInteger(PropMaxTrackSizeHeight, value.Height);
1895
return (Form)
Properties
.GetObject(PropFormMdiParent);
1898
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
1930
Properties
.SetObject(PropFormMdiParent, value);
1956
get { return
Properties
.GetObject(PropMdiWindowListStrip) as MdiWindowListStrip; }
1957
set {
Properties
.SetObject(PropMdiWindowListStrip, value); }
1961
get { return
Properties
.GetObject(PropMdiControlStrip) as MdiControlStrip; }
1962
set {
Properties
.SetObject(PropMdiControlStrip, value); }
1987
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
1990
MainMenu mergedMenu = (MainMenu)
Properties
.GetObject(PropMergedMenu);
2004
Properties
.SetObject(PropMergedMenu, mergedMenu);
2066
object opacity =
Properties
.GetObject(PropOpacity);
2087
Properties
.SetObject(PropOpacity, value);
2134
Form[] ownedForms = (Form[])
Properties
.GetObject(PropOwnedForms);
2135
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
2173
Properties
.SetObject(PropOwner, null);
2179
Properties
.SetObject(PropOwner, value);
2192
return (Form)
Properties
.GetObject(PropOwner);
2600
object key =
Properties
.GetObject(PropTransparencyKey);
2607
Properties
.SetObject(PropTransparencyKey, value);
3159
Form[] ownedForms = (Form[])
Properties
.GetObject(PropOwnedForms);
3160
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
3171
Properties
.SetObject(PropOwnedForms, ownedForms);
3177
Properties
.SetObject(PropOwnedForms, ownedForms);
3182
Properties
.SetInteger(PropOwnedFormsCount, ownedFormsCount + 1);
3486
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
3488
Properties
.SetObject(PropFormMdiParent, null);
3639
Form form = (Form)
Properties
.GetObject(PropFormMdiParent);
3799
if (
Properties
.ContainsObject(PropAcceptButton))
Properties
.SetObject(PropAcceptButton, null);
3800
if (
Properties
.ContainsObject(PropCancelButton))
Properties
.SetObject(PropCancelButton, null);
3801
if (
Properties
.ContainsObject(PropDefaultButton))
Properties
.SetObject(PropDefaultButton, null);
3802
if (
Properties
.ContainsObject(PropActiveMdiChild))
Properties
.SetObject(PropActiveMdiChild, null);
3819
Form owner = (Form)
Properties
.GetObject(PropOwner);
3822
Properties
.SetObject(PropOwner, null);
3825
Form[] ownedForms = (Form[])
Properties
.GetObject(PropOwnedForms);
3826
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
3850
Properties
.SetObject(PropMainMenu, null);
3853
if (
Properties
.GetObject(PropCurMenu) != null) {
3854
Properties
.SetObject(PropCurMenu, null);
3859
MainMenu dummyMenu = (MainMenu)
Properties
.GetObject(PropDummyMenu);
3863
Properties
.SetObject(PropDummyMenu, null);
3866
MainMenu mergedMenu = (MainMenu)
Properties
.GetObject(PropMergedMenu);
3872
Properties
.SetObject(PropMergedMenu, null);
4028
IWin32Window dialogOwner = (IWin32Window)
Properties
.GetObject(PropDialogOwner);
4519
if (
Properties
.ContainsObject(PropMergedMenu)) {
4520
MainMenu menu =
Properties
.GetObject(PropMergedMenu) as MainMenu;
4524
Properties
.SetObject(PropMergedMenu, null);
4570
if (ctl is Form && ctl.
Properties
.ContainsObject(PropMergedMenu)) {
4571
MainMenu mainMenu = ctl.
Properties
.GetObject(PropMergedMenu) as MainMenu;
4575
ctl.
Properties
.SetObject(PropMergedMenu, null);
5034
SecurityToolTip secTip = (SecurityToolTip)
Properties
.GetObject(PropSecurityTip);
5280
MainMenu curMenu = (MainMenu)
Properties
.GetObject(PropCurMenu);
5322
button = (IButtonControl)
Properties
.GetObject(PropDefaultButton);
5332
button = (IButtonControl)
Properties
.GetObject(PropCancelButton);
5441
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
5482
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
5576
Form[] ownedForms = (Form[])
Properties
.GetObject(PropOwnedForms);
5577
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
5597
Properties
.SetInteger(PropOwnedFormsCount, ownedFormsCount);
5615
SecurityToolTip secTip = (SecurityToolTip)
Properties
.GetObject(PropSecurityTip);
5620
Properties
.SetObject(PropSecurityTip, null);
5706
SecurityToolTip secTip = (SecurityToolTip)
Properties
.GetObject(PropSecurityTip);
5710
Properties
.SetObject(PropSecurityTip, secTip);
6011
IButtonControl defaultButton = (IButtonControl)
Properties
.GetObject(PropDefaultButton);
6015
Properties
.SetObject(PropDefaultButton, button);
6100
Properties
.SetObject(PropDialogOwner, owner);
6177
Properties
.SetObject(PropDialogOwner, owner);
6259
Properties
.SetObject(PropDialogOwner, null);
6431
Form owner = (Form)
Properties
.GetObject(PropOwner);
6480
if (
Properties
.GetObject(PropCurMenu) != null) {
6481
Properties
.SetObject(PropCurMenu, null);
6514
if (curMenu != null ||
Properties
.ContainsObject(PropCurMenu)) {
6515
Properties
.SetObject(PropCurMenu, curMenu);
6540
MainMenu dummyMenu = (MainMenu)
Properties
.GetObject(PropDummyMenu);
6545
Properties
.SetObject(PropDummyMenu, dummyMenu);
7046
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
7101
int ownedFormsCount =
Properties
.GetInteger(PropOwnedFormsCount);
7238
MainMenu curMenu = (MainMenu)
Properties
.GetObject(PropCurMenu);
7254
MainMenu curMenu = (MainMenu)
Properties
.GetObject(PropCurMenu);
7258
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
7282
Debug.Assert(
Properties
.GetObject(PropFormMdiParent) != null, "how is formMdiParent null?");
7285
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
7301
Form formMdiParent = (Form)
Properties
.GetObject(PropFormMdiParent);
7317
MainMenu dummyMenu = (MainMenu)
Properties
.GetObject(PropDummyMenu);
7318
MainMenu curMenu = (MainMenu)
Properties
.GetObject(PropCurMenu);
7319
MainMenu mergedMenu = (MainMenu)
Properties
.GetObject(PropMergedMenu);
winforms\Managed\System\WinForms\Label.cs (17)
459
Image image = (Image)
Properties
.GetObject(PropImage);
472
Properties
.SetObject(PropImage, value);
523
Properties
.SetObject(PropImage, null);
561
Properties
.SetObject(PropImage, null);
572
LabelImageIndexer imageIndexer =
Properties
.GetObject(PropImageIndex, out found) as LabelImageIndexer;
583
Properties
.SetObject(PropImageIndex, value);
602
return (ImageList)
Properties
.GetObject(PropImageList);
621
Properties
.SetObject(PropImage, null); // Image.set calls ImageList = null
624
Properties
.SetObject(PropImageList, value);
653
int imageAlign =
Properties
.GetInteger(PropImageAlign, out found);
664
Properties
.SetInteger(PropImageAlign, (int)value);
877
int textAlign =
Properties
.GetInteger(PropTextAlign, out found);
891
Properties
.SetInteger(PropTextAlign, (int)value);
1066
Image image = (Image)
Properties
.GetObject(PropImage);
1170
Properties
.SetObject(PropImageList, null);
1173
Properties
.SetObject(PropImage, null);
1693
return
Properties
.GetObject(PropImage) != null;
winforms\Managed\System\WinForms\ListView.cs (7)
2215
ArrayList newItems = (ArrayList)
Properties
.GetObject(PropDelayedUpdateItems);
2219
Properties
.SetObject(PropDelayedUpdateItems, null);
2296
if (updateCounter++ == 0 && null ==
Properties
.GetObject(PropDelayedUpdateItems)) {
2297
Properties
.SetObject(PropDelayedUpdateItems, new ArrayList());
3038
if (--updateCounter == 0 && null !=
Properties
.GetObject(PropDelayedUpdateItems)) {
3772
if (updateCounter > 0 &&
Properties
.GetObject(PropDelayedUpdateItems) != null) {
3782
ArrayList itemList = (ArrayList)
Properties
.GetObject(PropDelayedUpdateItems);
winforms\Managed\System\WinForms\ToolStrip.cs (14)
477
BindingContext bc = (BindingContext) this.
Properties
.GetObject(PropBindingContext);
491
if (this.
Properties
.GetObject(PropBindingContext) != value) {
492
this.
Properties
.SetObject(PropBindingContext, value);
1586
if (
Properties
.ContainsObject(ToolStrip.PropToolStripPanelCell)) {
1587
toolStripPanelCell = (ToolStripPanelCell)
Properties
.GetObject(ToolStrip.PropToolStripPanelCell);
1591
Properties
.SetObject(ToolStrip.PropToolStripPanelCell, toolStripPanelCell);
1854
if (!
Properties
.ContainsObject(ToolStrip.PropToolTip)) {
1856
Properties
.SetObject(ToolStrip.PropToolTip,toolTip );
1859
toolTip = (ToolTip)
Properties
.GetObject(ToolStrip.PropToolTip);
1874
if (
Properties
.ContainsObject(ToolStrip.PropTextDirection)) {
1875
textDirection= (ToolStripTextDirection)
Properties
.GetObject(ToolStrip.PropTextDirection);
1889
Properties
.SetObject(ToolStrip.PropTextDirection, value);
2090
ToolStripPanelCell toolStripPanelCell =
Properties
.GetObject(ToolStrip.PropToolStripPanelCell) as ToolStripPanelCell;
2103
ToolTip toolTip = (ToolTip)
Properties
.GetObject(ToolStrip.PropToolTip);
winforms\Managed\System\WinForms\ToolStripDropDown.cs (6)
166
if (
Properties
.ContainsObject(PropOpacity)) {
167
Properties
.SetObject(PropOpacity, (object)1.0f);
745
object opacity =
Properties
.GetObject(PropOpacity);
765
Properties
.SetObject(PropOpacity, value);
937
return
Properties
.GetObject(PropSourceControl) as Control;
940
Properties
.SetObject(PropSourceControl, value);
winforms\Managed\System\WinForms\ToolStripOverflow.cs (1)
95
get { return
Properties
; }
winforms\Managed\System\WinForms\ToolStripPanel.cs (2)
320
ToolStripPanelRowCollection rowCollection = (ToolStripPanelRowCollection)
Properties
.GetObject(PropToolStripPanelRowCollection);
324
Properties
.SetObject(PropToolStripPanelRowCollection, rowCollection);