Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- IPAddress.cs
- KnownBoxes.cs
- MessageVersion.cs
- AuthenticationSection.cs
- Function.cs
- SQLDecimal.cs
- HeaderedItemsControl.cs
- TextTreeNode.cs
- DataDesignUtil.cs
- SerializationHelper.cs
- AdornerLayer.cs
- ContextQuery.cs
- SendAgentStatusRequest.cs
- XmlRawWriter.cs
- CompareInfo.cs
- LocalFileSettingsProvider.cs
- WrappedKeySecurityTokenParameters.cs
- CorrelationResolver.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- ProfileModule.cs
- ServicesUtilities.cs
- ConfigurationProperty.cs
- XmlIgnoreAttribute.cs
- FocusChangedEventArgs.cs
- DataKeyCollection.cs
- ResourceSet.cs
- DbMetaDataCollectionNames.cs
- URI.cs
- MessageBox.cs
- DbConnectionHelper.cs
- ComponentSerializationService.cs
- RequestStatusBarUpdateEventArgs.cs
- AbsoluteQuery.cs
- WebPartZoneBase.cs
- TagPrefixInfo.cs
- MatrixAnimationUsingKeyFrames.cs
- BCLDebug.cs
- ViewKeyConstraint.cs
- XmlSchemaIdentityConstraint.cs
- CompressStream.cs
- NaturalLanguageHyphenator.cs
- Registry.cs
- LogicalExpressionTypeConverter.cs
- ExtensibleClassFactory.cs
- XmlAtomicValue.cs
- CharacterMetricsDictionary.cs
- AnonymousIdentificationModule.cs
- RuntimeArgumentHandle.cs
- CompilerScopeManager.cs
- SeverityFilter.cs
- InkCanvasSelection.cs
- Comparer.cs
- Floater.cs
- ObjectCacheHost.cs
- ServiceNameElementCollection.cs
- DoubleAnimationUsingPath.cs
- ToggleButton.cs
- TextModifierScope.cs
- TaskScheduler.cs
- DataGridViewRowsAddedEventArgs.cs
- SyndicationFeedFormatter.cs
- EnumDataContract.cs
- NavigationCommands.cs
- DesignerTransaction.cs
- ErrorStyle.cs
- DateTimeOffsetConverter.cs
- JsonFormatReaderGenerator.cs
- LogReserveAndAppendState.cs
- HtmlTableRowCollection.cs
- PopOutPanel.cs
- UrlPath.cs
- RecognizerStateChangedEventArgs.cs
- PathData.cs
- ProfileInfo.cs
- CoreChannel.cs
- ReverseComparer.cs
- DateBoldEvent.cs
- DeferredTextReference.cs
- EditorResources.cs
- SQLUtility.cs
- SizeFConverter.cs
- DurationConverter.cs
- BrowserDefinitionCollection.cs
- MessageContractExporter.cs
- StdRegProviderWrapper.cs
- ArrayTypeMismatchException.cs
- ParsedAttributeCollection.cs
- SerializationStore.cs
- Int64Converter.cs
- MethodBody.cs
- ExpressionBuilderContext.cs
- AxisAngleRotation3D.cs
- ValidationSettings.cs
- AxisAngleRotation3D.cs
- UpdatePanelControlTrigger.cs
- DataGridPageChangedEventArgs.cs
- Point3DConverter.cs
- TextMetrics.cs
- VariableQuery.cs
- TextViewBase.cs