Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / Documents / Bold.cs / 1305600 / Bold.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Bold element. // Xaml markup helper for indicating bolded content. // Equivalent to a Span with FontWeight property set to FontWeights.Bold. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Bold element - markup helper for indicating bolded content. /// Equivalent to a Span with FontWeight property set to FontWeights.Bold. /// Can contain other inline elements. /// public class Bold : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Bold() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold))); } ////// Initilizes a new instance of a Bold element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the Bold element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Bold() : base() { } ////// Initializes a new instance of Bold element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Bold element /// public Bold(Inline childInline) : base(childInline) { } ////// Creates a new Bold instance. /// /// /// Optional child Inline for the new Bold. May be null. /// /// /// Optional position at which to insert the new Bold. May be null. /// public Bold(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Span instance covering existing content. /// /// /// Start position of the new Span. /// /// /// End position of the new Span. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Bold(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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. // // Description: Bold element. // Xaml markup helper for indicating bolded content. // Equivalent to a Span with FontWeight property set to FontWeights.Bold. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Bold element - markup helper for indicating bolded content. /// Equivalent to a Span with FontWeight property set to FontWeights.Bold. /// Can contain other inline elements. /// public class Bold : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Bold() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Bold), new FrameworkPropertyMetadata(typeof(Bold))); } ////// Initilizes a new instance of a Bold element /// ////// To become fully functional this element requires at least one other Inline element /// as its child, typically Run with some text. /// In Xaml markup the Bold element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Bold() : base() { } ////// Initializes a new instance of Bold element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Bold element /// public Bold(Inline childInline) : base(childInline) { } ////// Creates a new Bold instance. /// /// /// Optional child Inline for the new Bold. May be null. /// /// /// Optional position at which to insert the new Bold. May be null. /// public Bold(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Span instance covering existing content. /// /// /// Start position of the new Span. /// /// /// End position of the new Span. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Bold(TextPointer start, TextPointer end) : base(start, end) { } #endregion Constructors } } // 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
- SoapAttributeOverrides.cs
- MergePropertyDescriptor.cs
- DtcInterfaces.cs
- XPathNavigatorKeyComparer.cs
- BitmapMetadata.cs
- EntityContainerRelationshipSetEnd.cs
- Semaphore.cs
- ToolboxItemFilterAttribute.cs
- MetadataPropertyvalue.cs
- XmlRootAttribute.cs
- Transform3DGroup.cs
- ApplicationHost.cs
- PenContext.cs
- CodeIdentifier.cs
- Decorator.cs
- SessionSwitchEventArgs.cs
- TransactedBatchingElement.cs
- loginstatus.cs
- Int64KeyFrameCollection.cs
- IPPacketInformation.cs
- TextProperties.cs
- GridViewEditEventArgs.cs
- EntityClientCacheKey.cs
- DbFunctionCommandTree.cs
- RoleService.cs
- RewritingSimplifier.cs
- CallbackValidatorAttribute.cs
- ConfigXmlWhitespace.cs
- WebServiceData.cs
- loginstatus.cs
- FamilyTypeface.cs
- ProjectionNode.cs
- AppDomainProtocolHandler.cs
- BitmapEncoder.cs
- PropertyGeneratedEventArgs.cs
- SerializableAttribute.cs
- StylusEventArgs.cs
- QuaternionAnimation.cs
- StatusStrip.cs
- ListControl.cs
- ValidationVisibilityAttribute.cs
- VisualCollection.cs
- _TimerThread.cs
- _DisconnectOverlappedAsyncResult.cs
- ReadOnlyDictionary.cs
- ClientSettings.cs
- HandlerFactoryWrapper.cs
- DataSourceXmlTextReader.cs
- HealthMonitoringSectionHelper.cs
- DiffuseMaterial.cs
- WebPartHelpVerb.cs
- TypeDescriptor.cs
- HMACSHA256.cs
- CqlParser.cs
- cookieexception.cs
- SmiMetaDataProperty.cs
- SamlAttributeStatement.cs
- TextTreeText.cs
- OrderToken.cs
- DataGridViewEditingControlShowingEventArgs.cs
- AttributeExtensions.cs
- CheckBox.cs
- PropertyNames.cs
- UniqueIdentifierService.cs
- ScrollItemPattern.cs
- TemplateXamlParser.cs
- DropShadowBitmapEffect.cs
- ButtonColumn.cs
- Utilities.cs
- diagnosticsswitches.cs
- BmpBitmapEncoder.cs
- TimeoutConverter.cs
- Command.cs
- AdRotator.cs
- TextTreeExtractElementUndoUnit.cs
- Model3D.cs
- ParallelTimeline.cs
- SubtreeProcessor.cs
- MetricEntry.cs
- XPathAxisIterator.cs
- TripleDES.cs
- HwndKeyboardInputProvider.cs
- PropertyGridView.cs
- CanonicalFormWriter.cs
- SqlDataSourceEnumerator.cs
- CustomTypeDescriptor.cs
- CodeGenerator.cs
- CodeObject.cs
- ScriptingProfileServiceSection.cs
- MessageLoggingElement.cs
- DrawingDrawingContext.cs
- validationstate.cs
- PathTooLongException.cs
- Enum.cs
- ContactManager.cs
- SetterBaseCollection.cs
- SharedDp.cs
- XsdBuildProvider.cs
- SQLSingleStorage.cs
- RegexEditorDialog.cs