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
- GridViewColumn.cs
- MimeFormReflector.cs
- Permission.cs
- DetailsViewRow.cs
- UIAgentMonitor.cs
- WinFormsSecurity.cs
- WorkflowRuntimeService.cs
- StoreItemCollection.cs
- DataColumnMappingCollection.cs
- ProviderUtil.cs
- ComPlusDiagnosticTraceSchemas.cs
- BrowserCapabilitiesCompiler.cs
- Activator.cs
- AmbiguousMatchException.cs
- FocusManager.cs
- ObsoleteAttribute.cs
- SecurityContext.cs
- AddInToken.cs
- BitmapScalingModeValidation.cs
- OdbcDataAdapter.cs
- QilLoop.cs
- BookmarkScopeManager.cs
- LayoutEvent.cs
- ControlCachePolicy.cs
- DbException.cs
- DirectionalLight.cs
- XmlQuerySequence.cs
- recordstate.cs
- CodeMemberField.cs
- InlineCollection.cs
- WebZone.cs
- ContainerVisual.cs
- SystemUnicastIPAddressInformation.cs
- AcceleratedTokenProviderState.cs
- IntSecurity.cs
- SrgsSubset.cs
- GeneralTransform.cs
- XsltQilFactory.cs
- Merger.cs
- SevenBitStream.cs
- DynamicPropertyReader.cs
- ServiceReference.cs
- ResourcePermissionBase.cs
- diagnosticsswitches.cs
- SQLChars.cs
- DesignerSerializationOptionsAttribute.cs
- MemoryPressure.cs
- OrderPreservingMergeHelper.cs
- TextWriterTraceListener.cs
- PropertyOrder.cs
- PartitionedStream.cs
- ClientSettings.cs
- SHA512CryptoServiceProvider.cs
- DBCommandBuilder.cs
- SynchronizationLockException.cs
- Variable.cs
- ExpressionBindingCollection.cs
- InputScopeConverter.cs
- DataGridViewCellStateChangedEventArgs.cs
- PackagePartCollection.cs
- AdobeCFFWrapper.cs
- ConnectionPoolManager.cs
- TypeBuilderInstantiation.cs
- APCustomTypeDescriptor.cs
- AuthenticateEventArgs.cs
- printdlgexmarshaler.cs
- SourceFileBuildProvider.cs
- ShaderEffect.cs
- CacheEntry.cs
- DocumentApplication.cs
- BoundPropertyEntry.cs
- SByte.cs
- ObjectSet.cs
- ConstraintEnumerator.cs
- DrawItemEvent.cs
- RegexNode.cs
- TraceSource.cs
- MailWebEventProvider.cs
- UrlPath.cs
- StringComparer.cs
- Avt.cs
- UnmanagedMemoryAccessor.cs
- SoapSchemaExporter.cs
- XmlNodeList.cs
- ArrayTypeMismatchException.cs
- OpCopier.cs
- SqlTriggerAttribute.cs
- ReferenceEqualityComparer.cs
- EventLogHandle.cs
- EdmProviderManifest.cs
- ProviderIncompatibleException.cs
- safesecurityhelperavalon.cs
- TransformGroup.cs
- URL.cs
- CustomErrorsSection.cs
- BasicAsyncResult.cs
- TraceListener.cs
- cookie.cs
- WebControl.cs
- XamlTreeBuilder.cs