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
- LowerCaseStringConverter.cs
- QilChoice.cs
- Selection.cs
- Animatable.cs
- ParameterReplacerVisitor.cs
- LineGeometry.cs
- ConstraintConverter.cs
- DeviceFiltersSection.cs
- MenuItem.cs
- DependencyPropertyKind.cs
- _emptywebproxy.cs
- Timer.cs
- HashMembershipCondition.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- CodeDomSerializerBase.cs
- SupportsPreviewControlAttribute.cs
- Shape.cs
- WindowsRichEdit.cs
- BinaryExpression.cs
- ExpressionContext.cs
- UnsafeNativeMethods.cs
- NodeInfo.cs
- MessageQueuePermissionEntryCollection.cs
- StringFreezingAttribute.cs
- ListDataHelper.cs
- WorkflowRequestContext.cs
- CustomErrorsSectionWrapper.cs
- ValidatingReaderNodeData.cs
- SqlDelegatedTransaction.cs
- DataGridViewBand.cs
- EnvelopedPkcs7.cs
- DbProviderFactoriesConfigurationHandler.cs
- LateBoundBitmapDecoder.cs
- XmlSchemaExternal.cs
- Opcode.cs
- XmlSchemaRedefine.cs
- CheckBox.cs
- FieldValue.cs
- LogSwitch.cs
- DefaultValueAttribute.cs
- DataGridViewSelectedColumnCollection.cs
- DocumentPaginator.cs
- HtmlTextBoxAdapter.cs
- XmlNotation.cs
- StrokeSerializer.cs
- EntityDataSourceEntityTypeFilterItem.cs
- CultureNotFoundException.cs
- ResolveDuplexCD1AsyncResult.cs
- LogEntrySerializer.cs
- ParallelTimeline.cs
- CompilationAssemblyInstallComponent.cs
- TextEffect.cs
- ChtmlTextWriter.cs
- TextBox.cs
- InsufficientMemoryException.cs
- GradientBrush.cs
- PersistenceTypeAttribute.cs
- UnsafeNativeMethods.cs
- RoutedEventArgs.cs
- TypeConverterHelper.cs
- Overlapped.cs
- TextCollapsingProperties.cs
- HttpsTransportElement.cs
- CodeValidator.cs
- StorageAssociationTypeMapping.cs
- CreatingCookieEventArgs.cs
- DataShape.cs
- CorrelationExtension.cs
- ResumeStoryboard.cs
- Native.cs
- ComboBoxRenderer.cs
- BindingsCollection.cs
- sqlcontext.cs
- FixedSOMLineCollection.cs
- Win32KeyboardDevice.cs
- VariantWrapper.cs
- SplineKeyFrames.cs
- FrameworkElementFactory.cs
- StringUtil.cs
- ProxyWebPart.cs
- HttpDictionary.cs
- FileReader.cs
- StrongNameMembershipCondition.cs
- QilReplaceVisitor.cs
- GPRECTF.cs
- TableItemStyle.cs
- Int16Converter.cs
- TemplateField.cs
- MouseGesture.cs
- DispatcherObject.cs
- DirectoryNotFoundException.cs
- NullableLongSumAggregationOperator.cs
- IntPtr.cs
- WebPartZoneCollection.cs
- FlowNode.cs
- OracleLob.cs
- RelatedEnd.cs
- ViewManager.cs
- PackagePart.cs
- WindowInteractionStateTracker.cs