Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Documents / Underline.cs / 1 / Underline.cs
//---------------------------------------------------------------------------- // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline 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 UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(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: Underline element. // Xaml markup helper for indicating superscript content. // Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Underline element - markup helper for indicating superscript content. /// Equivalent to a Span with TextDecorations property set to TextDecorations.Underlined. /// Can contain other inline elements. /// public class Underline : Span { //------------------------------------------------------------------- // // Constructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Underline() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Underline), new FrameworkPropertyMetadata(typeof(Underline))); } ////// Initilizes a new instance of a Underline 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 UNderline element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Underline() : base() { } ////// Initializes a new instance of Underline element and adds a given Subscript element as its first child. /// /// /// Inline element added as an initial child to this Underline element /// public Underline(Inline childInline) : base(childInline) { } ////// Creates a new Underline instance. /// /// /// Optional child Inline for the new Underline. May be null. /// /// /// Optional position at which to insert the new Underline. May be null. /// public Underline(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Underline instance covering existing content. /// /// /// Start position of the new Underline. /// /// /// End position of the new Underline. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Underline(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
- LineGeometry.cs
- FontStretches.cs
- ACE.cs
- MetadataItemSerializer.cs
- Authorization.cs
- ColorContextHelper.cs
- DataViewListener.cs
- ExclusiveNamedPipeTransportManager.cs
- Vector3DKeyFrameCollection.cs
- DotAtomReader.cs
- ListItemCollection.cs
- InstancePersistenceException.cs
- WebServiceTypeData.cs
- XsltOutput.cs
- Scene3D.cs
- InstanceHandle.cs
- SetUserPreferenceRequest.cs
- PointLight.cs
- HtmlAnchor.cs
- GeometryHitTestResult.cs
- CaseExpr.cs
- _CookieModule.cs
- FrameworkElement.cs
- PageRanges.cs
- XmlReflectionMember.cs
- SubqueryTrackingVisitor.cs
- XmlDataProvider.cs
- EdmItemError.cs
- SharedPersonalizationStateInfo.cs
- RegisteredExpandoAttribute.cs
- EnumBuilder.cs
- PipeSecurity.cs
- JoinElimination.cs
- RequestContextBase.cs
- ReadOnlyPropertyMetadata.cs
- Knowncolors.cs
- View.cs
- CheckBox.cs
- DesignerSerializerAttribute.cs
- XmlSchemaComplexType.cs
- RegexStringValidator.cs
- ReservationNotFoundException.cs
- PropertyFilterAttribute.cs
- XmlILModule.cs
- PtsHost.cs
- Int64.cs
- DetailsViewRow.cs
- ByteStack.cs
- SessionSymmetricMessageSecurityProtocolFactory.cs
- BufferedStream.cs
- ImageMap.cs
- TemplateLookupAction.cs
- TypeToStringValueConverter.cs
- UrlMappingsSection.cs
- NavigationPropertyEmitter.cs
- Atom10FormatterFactory.cs
- EdmComplexTypeAttribute.cs
- BitmapEffectInput.cs
- TableItemStyle.cs
- Block.cs
- KeyBinding.cs
- DependencyProperty.cs
- ClientData.cs
- DesignerSerializationOptionsAttribute.cs
- DrawingImage.cs
- ActivitiesCollection.cs
- StrongNameKeyPair.cs
- NativeWindow.cs
- PreviewKeyDownEventArgs.cs
- CommandHelper.cs
- InfoCardAsymmetricCrypto.cs
- InterleavedZipPartStream.cs
- SqlTriggerAttribute.cs
- brushes.cs
- TypeReference.cs
- DataStorage.cs
- PageSettings.cs
- PeerNameRecordCollection.cs
- WhitespaceRuleLookup.cs
- ToolboxDataAttribute.cs
- JoinQueryOperator.cs
- PolyQuadraticBezierSegment.cs
- ReaderWriterLock.cs
- printdlgexmarshaler.cs
- SQLInt64.cs
- XmlSchemaAnyAttribute.cs
- JsonFormatWriterGenerator.cs
- ScrollProviderWrapper.cs
- QilTypeChecker.cs
- CommandBindingCollection.cs
- BasicViewGenerator.cs
- RootNamespaceAttribute.cs
- BrowserDefinition.cs
- AnnotationComponentManager.cs
- GroupQuery.cs
- ActiveXSite.cs
- DataTableMappingCollection.cs
- ResourceFallbackManager.cs
- DataGridHeaderBorder.cs
- SQLStringStorage.cs