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
- PatternMatcher.cs
- ConfigurationConverterBase.cs
- ContentType.cs
- versioninfo.cs
- WaitHandle.cs
- PhysicalAddress.cs
- HyperLink.cs
- Point4D.cs
- CqlWriter.cs
- hebrewshape.cs
- EmbeddedMailObject.cs
- EntityCommandExecutionException.cs
- SessionSwitchEventArgs.cs
- ClientType.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XPathNodeInfoAtom.cs
- OraclePermissionAttribute.cs
- InkCanvasAutomationPeer.cs
- ExtractedStateEntry.cs
- HtmlTextArea.cs
- SerialErrors.cs
- DataGridRelationshipRow.cs
- PropertySourceInfo.cs
- DetailsViewDeleteEventArgs.cs
- HwndHost.cs
- Oid.cs
- AnnouncementSendsAsyncResult.cs
- ClassHandlersStore.cs
- ConnectionManagementElementCollection.cs
- TextEditorParagraphs.cs
- ContentDisposition.cs
- PropertyStore.cs
- GridItemCollection.cs
- BasicKeyConstraint.cs
- SelectionGlyphBase.cs
- Vertex.cs
- CompoundFileStreamReference.cs
- MatchingStyle.cs
- Message.cs
- DataContractSerializerSection.cs
- NameService.cs
- ExpressionCopier.cs
- ResXResourceReader.cs
- ControlParameter.cs
- XmlQueryTypeFactory.cs
- FormatterServices.cs
- JsonFormatReaderGenerator.cs
- XmlBaseReader.cs
- SafeWaitHandle.cs
- SafeFileMapViewHandle.cs
- HttpListenerPrefixCollection.cs
- HTTP_SERVICE_CONFIG_URLACL_PARAM.cs
- InlineObject.cs
- MissingManifestResourceException.cs
- ProcessHostServerConfig.cs
- TransformedBitmap.cs
- Vector3D.cs
- followingquery.cs
- LowerCaseStringConverter.cs
- CodeThrowExceptionStatement.cs
- DbProviderServices.cs
- StructureChangedEventArgs.cs
- Trigger.cs
- ProfileService.cs
- DirectoryLocalQuery.cs
- CachingHintValidation.cs
- WebPartZoneCollection.cs
- BamlLocalizabilityResolver.cs
- HotCommands.cs
- LinqDataSourceSelectEventArgs.cs
- MailAddressCollection.cs
- ToolStripDropDownClosedEventArgs.cs
- RemotingClientProxy.cs
- AdRotator.cs
- EditCommandColumn.cs
- WebControl.cs
- RetrieveVirtualItemEventArgs.cs
- ConfigurationPropertyAttribute.cs
- userdatakeys.cs
- TypeDescriptionProviderAttribute.cs
- Stack.cs
- MouseActionConverter.cs
- StrokeNodeOperations.cs
- KerberosRequestorSecurityToken.cs
- SafeNativeMethodsCLR.cs
- UnmanagedMarshal.cs
- BoundingRectTracker.cs
- ETagAttribute.cs
- DataConnectionHelper.cs
- SystemBrushes.cs
- EventWaitHandle.cs
- RbTree.cs
- ResourceReferenceExpression.cs
- ManipulationStartedEventArgs.cs
- ModelVisual3D.cs
- OpCopier.cs
- Int16Converter.cs
- DataSpaceManager.cs
- _NestedMultipleAsyncResult.cs
- ArgumentOutOfRangeException.cs