Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- GeometryValueSerializer.cs
- InfoCardHelper.cs
- RuleConditionDialog.Designer.cs
- UserControlBuildProvider.cs
- NameService.cs
- AnnotationMap.cs
- RemoteWebConfigurationHost.cs
- DesignerDataTableBase.cs
- HttpResponseInternalWrapper.cs
- HttpHandlerActionCollection.cs
- CodeConditionStatement.cs
- WebHeaderCollection.cs
- TextTreeRootNode.cs
- TextUtf8RawTextWriter.cs
- KeyInfo.cs
- Timer.cs
- CanonicalFontFamilyReference.cs
- ColorIndependentAnimationStorage.cs
- Constraint.cs
- ExpanderAutomationPeer.cs
- loginstatus.cs
- TableAdapterManagerNameHandler.cs
- CodeSnippetStatement.cs
- MenuItemCollectionEditor.cs
- WindowsEditBox.cs
- ValidatedControlConverter.cs
- Propagator.JoinPropagator.cs
- ClassHandlersStore.cs
- OutputCacheSection.cs
- VideoDrawing.cs
- SecurityTokenInclusionMode.cs
- TraceListeners.cs
- CacheRequest.cs
- DependencyObject.cs
- CultureSpecificCharacterBufferRange.cs
- DataGridViewImageCell.cs
- CharacterHit.cs
- PolyLineSegmentFigureLogic.cs
- DataSetUtil.cs
- InstanceDataCollectionCollection.cs
- RadioButtonBaseAdapter.cs
- CodeArgumentReferenceExpression.cs
- InitializationEventAttribute.cs
- FreezableCollection.cs
- ReaderWriterLockWrapper.cs
- WindowsSysHeader.cs
- TextTreeUndoUnit.cs
- SchemaManager.cs
- Validator.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- SystemIcons.cs
- PropertyNames.cs
- WorkflowExecutor.cs
- DBParameter.cs
- BinaryNode.cs
- EntityContainerRelationshipSet.cs
- InfiniteIntConverter.cs
- AssociationSetMetadata.cs
- UserPreferenceChangedEventArgs.cs
- WarningException.cs
- WebPageTraceListener.cs
- XmlReflectionMember.cs
- SmiMetaDataProperty.cs
- DrawingCollection.cs
- SimpleType.cs
- ObjectDataSourceFilteringEventArgs.cs
- Types.cs
- RealProxy.cs
- RotationValidation.cs
- DataService.cs
- DataExchangeServiceBinder.cs
- ImageCreator.cs
- PolicyImporterElementCollection.cs
- XmlReflectionImporter.cs
- SystemIcons.cs
- DeploymentSectionCache.cs
- PageFunction.cs
- FormViewDeletedEventArgs.cs
- XmlILIndex.cs
- InvalidPropValue.cs
- DesignTimeDataBinding.cs
- XmlJsonReader.cs
- XXXOnTypeBuilderInstantiation.cs
- TextTreeInsertElementUndoUnit.cs
- DbConnectionPoolGroupProviderInfo.cs
- DataGridViewCellValidatingEventArgs.cs
- ZipPackage.cs
- HttpProtocolImporter.cs
- Decimal.cs
- TrackBarRenderer.cs
- ArcSegment.cs
- ClusterSafeNativeMethods.cs
- DBPropSet.cs
- CacheOutputQuery.cs
- XmlWriterSettings.cs
- IIS7UserPrincipal.cs
- BulletChrome.cs
- RoleGroup.cs
- SecurityManager.cs
- Boolean.cs