Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Framework / System / Windows / Controls / Primitives / StatusBarItem.cs / 1 / StatusBarItem.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Automation.Peers; using MS.Internal.KnownBoxes; namespace System.Windows.Controls.Primitives { ////// Control that implements a item inside a StatusBar. /// [Localizability(LocalizationCategory.Inherit)] public class StatusBarItem : ContentControl { #region Constructors static StatusBarItem() { DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); _dType = DependencyObjectType.FromSystemTypeInternal(typeof(StatusBarItem)); IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); } #endregion #region Accessibility ////// Creates AutomationPeer ( protected override AutomationPeer OnCreateAutomationPeer() { return new StatusBarItemAutomationPeer(this); } #endregion #region DTypeThemeStyleKey // Returns the DependencyObjectType for the registered ThemeStyleKey's default // value. Controls will override this method to return approriate types. internal override DependencyObjectType DTypeThemeStyleKey { get { return _dType; } } private static DependencyObjectType _dType; #endregion DTypeThemeStyleKey } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // //--------------------------------------------------------------------------- using System.Windows; using System.Windows.Automation.Peers; using MS.Internal.KnownBoxes; namespace System.Windows.Controls.Primitives { ///) /// /// Control that implements a item inside a StatusBar. /// [Localizability(LocalizationCategory.Inherit)] public class StatusBarItem : ContentControl { #region Constructors static StatusBarItem() { DefaultStyleKeyProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(typeof(StatusBarItem))); _dType = DependencyObjectType.FromSystemTypeInternal(typeof(StatusBarItem)); IsTabStopProperty.OverrideMetadata(typeof(StatusBarItem), new FrameworkPropertyMetadata(BooleanBoxes.FalseBox)); } #endregion #region Accessibility ////// Creates AutomationPeer ( protected override AutomationPeer OnCreateAutomationPeer() { return new StatusBarItemAutomationPeer(this); } #endregion #region DTypeThemeStyleKey // Returns the DependencyObjectType for the registered ThemeStyleKey's default // value. Controls will override this method to return approriate types. internal override DependencyObjectType DTypeThemeStyleKey { get { return _dType; } } private static DependencyObjectType _dType; #endregion DTypeThemeStyleKey } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.) ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MenuItemCollection.cs
- ServiceX509SecurityTokenProvider.cs
- ExpressionLink.cs
- ListBoxItemAutomationPeer.cs
- UIElementHelper.cs
- DataGridViewBindingCompleteEventArgs.cs
- FloaterBaseParagraph.cs
- FormatVersion.cs
- SizeConverter.cs
- RouteTable.cs
- CalendarDateRangeChangingEventArgs.cs
- CodeIndexerExpression.cs
- ToolStripDropDownDesigner.cs
- EmbeddedObject.cs
- HebrewCalendar.cs
- PaperSource.cs
- HttpCookie.cs
- FacetDescription.cs
- DeclarativeCatalogPart.cs
- TrailingSpaceComparer.cs
- XmlNodeWriter.cs
- CFGGrammar.cs
- RecommendedAsConfigurableAttribute.cs
- GeometryCombineModeValidation.cs
- TextFormatterHost.cs
- DataGridViewComboBoxCell.cs
- EntityViewContainer.cs
- XmlSchemaRedefine.cs
- SqlException.cs
- BindingWorker.cs
- SaveWorkflowAsyncResult.cs
- LinkButton.cs
- TypeBrowserDialog.cs
- ListViewInsertedEventArgs.cs
- DesignerActionPropertyItem.cs
- Lazy.cs
- TypeSystem.cs
- RectangleGeometry.cs
- EncoderFallback.cs
- Library.cs
- WebZone.cs
- EntityViewGenerator.cs
- ImportContext.cs
- StringInfo.cs
- ScriptResourceHandler.cs
- PageMediaSize.cs
- DataPointer.cs
- ToggleButton.cs
- TrustManagerPromptUI.cs
- PartManifestEntry.cs
- DecoderBestFitFallback.cs
- TreeBuilderXamlTranslator.cs
- SchemaEntity.cs
- WebConfigurationHostFileChange.cs
- Signature.cs
- SqlUDTStorage.cs
- SmiMetaData.cs
- DataGridViewButtonCell.cs
- DocumentOrderQuery.cs
- Wizard.cs
- _ListenerResponseStream.cs
- ProxyFragment.cs
- BoundColumn.cs
- FrameworkPropertyMetadata.cs
- MemberHolder.cs
- SoapIncludeAttribute.cs
- PerformanceCounterManager.cs
- ZipIOBlockManager.cs
- SvcMapFileSerializer.cs
- SessionStateUtil.cs
- HttpRuntimeSection.cs
- StylusPointPropertyId.cs
- VirtualPathProvider.cs
- ToolStripDesignerAvailabilityAttribute.cs
- FileDialog_Vista_Interop.cs
- ConnectionManagementElementCollection.cs
- ContentValidator.cs
- SHA1CryptoServiceProvider.cs
- GeometryCombineModeValidation.cs
- Path.cs
- XsdDataContractExporter.cs
- CustomAssemblyResolver.cs
- SiteMapNodeCollection.cs
- ThreadPool.cs
- TextServicesCompartmentContext.cs
- ResourceDisplayNameAttribute.cs
- PropertyGridView.cs
- ReadOnlyCollection.cs
- AttachedPropertyBrowsableAttribute.cs
- SecurityElement.cs
- DataServicePagingProviderWrapper.cs
- DomainUpDown.cs
- TemplateBindingExtensionConverter.cs
- PriorityChain.cs
- QilTypeChecker.cs
- RtfToXamlReader.cs
- SoapInteropTypes.cs
- UniqueIdentifierService.cs
- RegularExpressionValidator.cs
- IncomingWebResponseContext.cs