Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Baml6ConstructorInfo.cs
- RangeContentEnumerator.cs
- ContractCodeDomInfo.cs
- ViewLoader.cs
- SettingsPropertyNotFoundException.cs
- FileLoadException.cs
- ButtonBase.cs
- Ray3DHitTestResult.cs
- ContentType.cs
- DPTypeDescriptorContext.cs
- ProfessionalColorTable.cs
- ResXBuildProvider.cs
- ToolBarButtonClickEvent.cs
- ServiceParser.cs
- StoryFragments.cs
- InlineUIContainer.cs
- ProxyWebPartConnectionCollection.cs
- BuilderPropertyEntry.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- FixUpCollection.cs
- ExitEventArgs.cs
- XmlComplianceUtil.cs
- Menu.cs
- CharUnicodeInfo.cs
- EmptyImpersonationContext.cs
- SqlInternalConnection.cs
- MultipleViewPattern.cs
- ChangeBlockUndoRecord.cs
- LabelDesigner.cs
- ToggleButton.cs
- BitmapEffectGroup.cs
- ILGenerator.cs
- ReachPageContentSerializerAsync.cs
- Menu.cs
- DataGridCell.cs
- RightsManagementLicense.cs
- AdapterUtil.cs
- HttpException.cs
- EntityCommandExecutionException.cs
- SerializationInfoEnumerator.cs
- PropertiesTab.cs
- CapabilitiesPattern.cs
- Blend.cs
- ISCIIEncoding.cs
- ProfileService.cs
- SubpageParagraph.cs
- QueryResults.cs
- ExeConfigurationFileMap.cs
- Calendar.cs
- CompatibleComparer.cs
- DrawingState.cs
- FontNamesConverter.cs
- FaultPropagationQuery.cs
- ComponentGlyph.cs
- DBCSCodePageEncoding.cs
- BaseCodePageEncoding.cs
- ModuleBuilder.cs
- ExternalFile.cs
- HtmlElementEventArgs.cs
- OleDbCommandBuilder.cs
- Activity.cs
- DataGridViewImageCell.cs
- BindingGroup.cs
- PrintPreviewControl.cs
- SqlMethodCallConverter.cs
- PriorityQueue.cs
- ReadOnlyDictionary.cs
- loginstatus.cs
- SchemaElement.cs
- EventDriven.cs
- SystemMulticastIPAddressInformation.cs
- MouseEventArgs.cs
- PersonalizationProviderCollection.cs
- XmlKeywords.cs
- VoiceChangeEventArgs.cs
- TransactionContextValidator.cs
- Utils.cs
- ConnectionStringsExpressionBuilder.cs
- HttpsHostedTransportConfiguration.cs
- BehaviorEditorPart.cs
- RootProfilePropertySettingsCollection.cs
- CommonGetThemePartSize.cs
- RuleInfoComparer.cs
- MultipartIdentifier.cs
- HotSpotCollection.cs
- WebPartEventArgs.cs
- KeyTime.cs
- EventLogLink.cs
- RegistrationContext.cs
- PartialList.cs
- MULTI_QI.cs
- DbParameterCollection.cs
- DataGridColumnEventArgs.cs
- UshortList2.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- TileBrush.cs
- ThreadExceptionEvent.cs
- LinkArea.cs
- TdsParserStaticMethods.cs
- MouseOverProperty.cs