Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- ProfileProvider.cs
- InternalControlCollection.cs
- ObjectHandle.cs
- XmlWrappingWriter.cs
- CallbackValidator.cs
- CounterSample.cs
- SiteMapNodeItem.cs
- WithParamAction.cs
- HostProtectionException.cs
- Attributes.cs
- TCPListener.cs
- Message.cs
- StatusBarPanel.cs
- SqlClientWrapperSmiStreamChars.cs
- Help.cs
- HwndAppCommandInputProvider.cs
- DispatchChannelSink.cs
- AppDomainProtocolHandler.cs
- StylusTouchDevice.cs
- MissingMethodException.cs
- MenuEventArgs.cs
- CachedPathData.cs
- ThreadSafeMessageFilterTable.cs
- QueryRewriter.cs
- OleDbErrorCollection.cs
- SqlTransaction.cs
- QueryOutputWriter.cs
- XmlTextReader.cs
- SafeNativeMethodsMilCoreApi.cs
- TraceListener.cs
- FileDialogCustomPlaces.cs
- ParamArrayAttribute.cs
- GridViewCancelEditEventArgs.cs
- SocketInformation.cs
- PartitionedDataSource.cs
- QueryStringConverter.cs
- MetadataArtifactLoaderComposite.cs
- UseAttributeSetsAction.cs
- SamlConditions.cs
- DBSchemaRow.cs
- TextMetrics.cs
- RemoveStoryboard.cs
- DataGridViewCellStyle.cs
- TreeView.cs
- Decoder.cs
- X509ChainPolicy.cs
- EastAsianLunisolarCalendar.cs
- HttpCacheVary.cs
- ToolStripDropDownItem.cs
- FixedLineResult.cs
- RuleValidation.cs
- CheckBox.cs
- PolyBezierSegmentFigureLogic.cs
- HttpConfigurationContext.cs
- ResourceExpressionBuilder.cs
- XmlName.cs
- ApplicationException.cs
- ItemCheckEvent.cs
- PopupRoot.cs
- TraceContext.cs
- DataRelationPropertyDescriptor.cs
- ToolStripPanelCell.cs
- StringKeyFrameCollection.cs
- CounterCreationDataCollection.cs
- TempFiles.cs
- AbstractExpressions.cs
- CodeIdentifiers.cs
- ResourceManager.cs
- Transform.cs
- DataGridViewRowPostPaintEventArgs.cs
- ProfileGroupSettings.cs
- EntityAdapter.cs
- ForceCopyBuildProvider.cs
- Encoding.cs
- XsltConvert.cs
- ViewEventArgs.cs
- DataStreamFromComStream.cs
- WindowsSolidBrush.cs
- SHA1.cs
- TextBoxDesigner.cs
- XPathNavigatorException.cs
- PTUtility.cs
- ImmutableCollection.cs
- TraceHandler.cs
- MessageBox.cs
- EqualityComparer.cs
- ApplicationDirectoryMembershipCondition.cs
- DataGridViewTopLeftHeaderCell.cs
- RowSpanVector.cs
- ComponentCollection.cs
- WebPartDescription.cs
- WindowsSpinner.cs
- PasswordBox.cs
- ServiceHttpHandlerFactory.cs
- UIElementCollection.cs
- EditorOptionAttribute.cs
- CompilerState.cs
- complextypematerializer.cs
- DynamicMethod.cs
- LayoutInformation.cs