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
- HttpMethodAttribute.cs
- SQLInt16.cs
- _TLSstream.cs
- StylusTip.cs
- HtmlTableRow.cs
- ServiceDescriptionContext.cs
- CultureTableRecord.cs
- EntityDataSourceReferenceGroup.cs
- ComponentTray.cs
- TableDetailsRow.cs
- DbExpressionVisitor_TResultType.cs
- MaskedTextBoxDesigner.cs
- EditorPart.cs
- ComEventsSink.cs
- ConnectorMovedEventArgs.cs
- TakeQueryOptionExpression.cs
- BinHexDecoder.cs
- Help.cs
- Rule.cs
- GenericWebPart.cs
- Section.cs
- TransformGroup.cs
- BitmapFrameDecode.cs
- HtmlElementErrorEventArgs.cs
- DataColumnMapping.cs
- IndexedSelectQueryOperator.cs
- CustomTypeDescriptor.cs
- CompositeActivityValidator.cs
- ConstructorBuilder.cs
- base64Transforms.cs
- MobileComponentEditorPage.cs
- EdmSchemaError.cs
- ImageCodecInfo.cs
- UndirectedGraph.cs
- FrameworkContentElementAutomationPeer.cs
- CalloutQueueItem.cs
- CancellationTokenSource.cs
- BinaryFormatterWriter.cs
- URLString.cs
- DataGridViewTextBoxColumn.cs
- PolicyDesigner.cs
- WindowsSpinner.cs
- TextEvent.cs
- DataRelation.cs
- Point4D.cs
- DataGridViewSelectedColumnCollection.cs
- ContentType.cs
- SqlCrossApplyToCrossJoin.cs
- ObjectItemCollection.cs
- DashStyle.cs
- DetailsViewUpdateEventArgs.cs
- ResumeStoryboard.cs
- TransactionProxy.cs
- HtmlShimManager.cs
- LocalizeDesigner.cs
- VerificationException.cs
- SqlDelegatedTransaction.cs
- SchemaNames.cs
- PictureBox.cs
- __ComObject.cs
- MainMenu.cs
- XhtmlTextWriter.cs
- ReflectionUtil.cs
- MessageContractAttribute.cs
- RawKeyboardInputReport.cs
- ClearCollection.cs
- AddressingProperty.cs
- LinkLabel.cs
- ToolboxBitmapAttribute.cs
- Crc32Helper.cs
- DialogWindow.cs
- DisplayMemberTemplateSelector.cs
- SecurityContextSecurityToken.cs
- DecimalAnimation.cs
- TreeSet.cs
- HybridDictionary.cs
- SecurityManager.cs
- DefaultEvaluationContext.cs
- Compilation.cs
- CompressStream.cs
- PropertyAccessVisitor.cs
- MessageSmuggler.cs
- AngleUtil.cs
- ISCIIEncoding.cs
- SystemFonts.cs
- HandleCollector.cs
- TemplatedMailWebEventProvider.cs
- Properties.cs
- XmlUrlResolver.cs
- COM2ColorConverter.cs
- RuleInfoComparer.cs
- OAVariantLib.cs
- Decimal.cs
- DateRangeEvent.cs
- InputLanguageManager.cs
- ComponentEvent.cs
- XomlDesignerLoader.cs
- _NestedMultipleAsyncResult.cs
- FileSystemEventArgs.cs
- PostBackOptions.cs