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 / Documents / Bold.cs / 1 / 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
- TypeReference.cs
- ETagAttribute.cs
- RemoteX509Token.cs
- Image.cs
- FileUtil.cs
- XPathExpr.cs
- ObjectDataSourceFilteringEventArgs.cs
- counter.cs
- KnownIds.cs
- WindowsListViewItemCheckBox.cs
- ComProxy.cs
- FileDetails.cs
- MailMessage.cs
- MarkupCompilePass1.cs
- LeftCellWrapper.cs
- Point3DConverter.cs
- RuleSettingsCollection.cs
- CompoundFileStreamReference.cs
- IndexedEnumerable.cs
- InvalidCastException.cs
- ListViewDeleteEventArgs.cs
- PersonalizationAdministration.cs
- PrtCap_Reader.cs
- PKCS1MaskGenerationMethod.cs
- MyContact.cs
- SmtpReplyReaderFactory.cs
- OleDbPermission.cs
- ISFClipboardData.cs
- SafeSecurityHelper.cs
- XmlSchemaGroupRef.cs
- GeneralTransform2DTo3D.cs
- XmlSchemaAttributeGroup.cs
- MimeMultiPart.cs
- COM2Enum.cs
- DataListItemCollection.cs
- EntryWrittenEventArgs.cs
- RouteCollection.cs
- FormsAuthenticationEventArgs.cs
- _NetworkingPerfCounters.cs
- InheritanceAttribute.cs
- WebPartMinimizeVerb.cs
- CodeGen.cs
- DbConnectionPoolGroup.cs
- FixedSOMFixedBlock.cs
- DayRenderEvent.cs
- DefaultPropertyAttribute.cs
- RegistrySecurity.cs
- DirectionalLight.cs
- IndentedWriter.cs
- XmlSchemaRedefine.cs
- TraceShell.cs
- PerfCounters.cs
- OracleTransaction.cs
- shaperfactoryquerycachekey.cs
- BigInt.cs
- DateBoldEvent.cs
- WebPartZoneDesigner.cs
- AppDomainEvidenceFactory.cs
- StickyNoteContentControl.cs
- CanonicalFontFamilyReference.cs
- CancelEventArgs.cs
- OnOperation.cs
- WebZone.cs
- BinaryCommonClasses.cs
- CallbackDebugBehavior.cs
- DeflateEmulationStream.cs
- SqlWebEventProvider.cs
- DataGridSortCommandEventArgs.cs
- RegexMatchCollection.cs
- HMACSHA512.cs
- ISAPIApplicationHost.cs
- ObjectHelper.cs
- DateTime.cs
- SqlEnums.cs
- AssemblyBuilderData.cs
- Constants.cs
- ScrollChrome.cs
- CodeTypeMemberCollection.cs
- EarlyBoundInfo.cs
- TraceHandler.cs
- XmlSchemaParticle.cs
- RuleDefinitions.cs
- MappingMetadataHelper.cs
- MaskedTextProvider.cs
- XmlSchemas.cs
- FrameworkRichTextComposition.cs
- Int32RectConverter.cs
- QilReplaceVisitor.cs
- ChildrenQuery.cs
- HtmlTitle.cs
- HttpCookie.cs
- RbTree.cs
- SchemaTableOptionalColumn.cs
- LinkClickEvent.cs
- CalendarDateRange.cs
- RoutedEventValueSerializer.cs
- CriticalFinalizerObject.cs
- DataViewListener.cs
- DynamicRenderer.cs
- BulletedList.cs