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
- RightsManagementInformation.cs
- PartialCachingControl.cs
- DesignerActionGlyph.cs
- ArrayWithOffset.cs
- ApplicationTrust.cs
- WSSecurityPolicy11.cs
- ScriptResourceHandler.cs
- ErrorHandler.cs
- WebPartEditorOkVerb.cs
- TypeToArgumentTypeConverter.cs
- DynamicScriptObject.cs
- TypeConverterHelper.cs
- RepeaterItem.cs
- UnsafePeerToPeerMethods.cs
- ImpersonateTokenRef.cs
- BooleanToVisibilityConverter.cs
- EntityDataSourceStatementEditorForm.cs
- ChooseAction.cs
- FuncCompletionCallbackWrapper.cs
- SimpleApplicationHost.cs
- DirectoryRedirect.cs
- PropertyRecord.cs
- WorkflowServiceNamespace.cs
- WaitHandle.cs
- WebServicesSection.cs
- HyperLinkStyle.cs
- UnaryNode.cs
- CodeNamespaceImportCollection.cs
- assertwrapper.cs
- DataGridViewCellMouseEventArgs.cs
- Tokenizer.cs
- StreamWithDictionary.cs
- TextPatternIdentifiers.cs
- GridViewRowEventArgs.cs
- SettingsContext.cs
- webbrowsersite.cs
- XmlSchemaException.cs
- TemplatePartAttribute.cs
- PaginationProgressEventArgs.cs
- LoginView.cs
- ConnectorSelectionGlyph.cs
- ListBoxChrome.cs
- ToolStripComboBox.cs
- WorkItem.cs
- BrowserCapabilitiesCompiler.cs
- ObjectDataSourceDisposingEventArgs.cs
- ImportOptions.cs
- DataMisalignedException.cs
- Range.cs
- TextTreePropertyUndoUnit.cs
- ServiceOperationHelpers.cs
- NullableLongMinMaxAggregationOperator.cs
- TypeConverterHelper.cs
- AttributeCallbackBuilder.cs
- NotSupportedException.cs
- ActivatedMessageQueue.cs
- _CookieModule.cs
- Delegate.cs
- XmlSchemaAppInfo.cs
- WebPartEditorOkVerb.cs
- InheritanceAttribute.cs
- infer.cs
- HttpCachePolicyWrapper.cs
- TimelineClockCollection.cs
- PrintPreviewControl.cs
- FlowchartDesignerCommands.cs
- ToRequest.cs
- GridItemPatternIdentifiers.cs
- WebCategoryAttribute.cs
- DesignerTransaction.cs
- LinkedResourceCollection.cs
- XmlSchemaFacet.cs
- NameNode.cs
- AdapterUtil.cs
- IntPtr.cs
- Hyperlink.cs
- AdornerPresentationContext.cs
- ExpandCollapseProviderWrapper.cs
- SqlXmlStorage.cs
- _HTTPDateParse.cs
- COAUTHINFO.cs
- SQLResource.cs
- TemplateBaseAction.cs
- Soap.cs
- SettingsPropertyValueCollection.cs
- XmlQueryType.cs
- GeneralTransform3D.cs
- FileClassifier.cs
- FlowLayoutPanel.cs
- SqlXml.cs
- GroupBox.cs
- _ChunkParse.cs
- LicFileLicenseProvider.cs
- HealthMonitoringSectionHelper.cs
- CollectionView.cs
- ComplexTypeEmitter.cs
- FunctionGenerator.cs
- TabletDevice.cs
- InputScope.cs
- ClientScriptManagerWrapper.cs