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