Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / Framework / System / Windows / Documents / Italic.cs / 1 / Italic.cs
//---------------------------------------------------------------------------- // // Copyright (C) Microsoft Corporation. All rights reserved. // // Description: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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: Italic element. // Xaml markup helper for indicating italicized content. // Equivalent to a Span with FontStyle property set to FontStyles.Italic. // Can contain other inline elements. // //--------------------------------------------------------------------------- namespace System.Windows.Documents { ////// Italic element - markup helper for indicating italicized content. /// Equivalent to a Span with FontStyle property set to FontStyles.Italic. /// Can contain other inline elements. /// public class Italic : Span { //------------------------------------------------------------------- // // Connstructors // //------------------------------------------------------------------- #region Constructors ////// Static ctor. Initializes property metadata. /// static Italic() { DefaultStyleKeyProperty.OverrideMetadata(typeof(Italic), new FrameworkPropertyMetadata(typeof(Italic))); } ////// Initilizes a new instance of a Italic 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 Italic element may appear without Run child, /// but please note that such Run was implicitly inserted by parser. /// public Italic() : base() { } ////// Initializes a new instance of Italic element and adds a given Inline element as its first child. /// /// /// Inline element added as an initial child to this Italic element /// public Italic(Inline childInline) : base(childInline) { } ////// Creates a new Italic instance. /// /// /// Optional child Inline for the new Italic. May be null. /// /// /// Optional position at which to insert the new Italic. May be null. /// public Italic(Inline childInline, TextPointer insertionPosition) : base(childInline, insertionPosition) { } ////// Creates a new Italic instance covering existing content. /// /// /// Start position of the new Italic. /// /// /// End position of the new Italic. /// ////// start and end must both be parented by the same Paragraph, otherwise /// the method will raise an ArgumentException. /// public Italic(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
- SrgsText.cs
- Int32Rect.cs
- GridView.cs
- CmsInterop.cs
- Range.cs
- WebPartHelpVerb.cs
- tibetanshape.cs
- AvTrace.cs
- TemplatedMailWebEventProvider.cs
- ConstructorBuilder.cs
- BitmapEncoder.cs
- ImageClickEventArgs.cs
- SchemaAttDef.cs
- OpCopier.cs
- DefaultObjectMappingItemCollection.cs
- ReceiveContext.cs
- Missing.cs
- MatrixTransform3D.cs
- PointLight.cs
- ComPlusInstanceContextInitializer.cs
- DateTimeSerializationSection.cs
- Triangle.cs
- WebPartDescription.cs
- StringUtil.cs
- AttributeData.cs
- IisTraceWebEventProvider.cs
- Marshal.cs
- Unit.cs
- CompilationUnit.cs
- PathFigure.cs
- RectangleF.cs
- FormsAuthentication.cs
- FixedSOMFixedBlock.cs
- ObjectDataSourceMethodEventArgs.cs
- PolicyStatement.cs
- Point3DConverter.cs
- DynamicValidator.cs
- ToolStripHighContrastRenderer.cs
- TdsValueSetter.cs
- HeaderCollection.cs
- QueryComponents.cs
- Repeater.cs
- JoinCqlBlock.cs
- httpserverutility.cs
- RSAOAEPKeyExchangeFormatter.cs
- CommonGetThemePartSize.cs
- SafeNativeMethods.cs
- RijndaelManaged.cs
- WebHttpBinding.cs
- DurableInstanceProvider.cs
- RewritingValidator.cs
- NullRuntimeConfig.cs
- Inflater.cs
- GPPOINTF.cs
- ProcessInfo.cs
- Block.cs
- DataSourceComponent.cs
- Scene3D.cs
- FrameworkContextData.cs
- BoundConstants.cs
- MemberAccessException.cs
- PropertyChangingEventArgs.cs
- Empty.cs
- SQLInt16.cs
- PagerStyle.cs
- ResourceDisplayNameAttribute.cs
- RowToFieldTransformer.cs
- CollectionBuilder.cs
- UInt64.cs
- PowerModeChangedEventArgs.cs
- Variant.cs
- MailAddress.cs
- ZipIOCentralDirectoryFileHeader.cs
- AccessText.cs
- TextParagraph.cs
- RoleGroupCollection.cs
- TrustManager.cs
- XmlObjectSerializerContext.cs
- RectValueSerializer.cs
- RuntimeConfig.cs
- FixedPage.cs
- TabPanel.cs
- DataControlField.cs
- EventLogInformation.cs
- DataColumnCollection.cs
- BitmapEffectDrawingContextState.cs
- RectAnimationUsingKeyFrames.cs
- XmlSchemaComplexContentRestriction.cs
- SqlMethodAttribute.cs
- FusionWrap.cs
- Pkcs9Attribute.cs
- DoubleCollection.cs
- NativeMethods.cs
- PowerModeChangedEventArgs.cs
- Point3DAnimationUsingKeyFrames.cs
- StackOverflowException.cs
- Icon.cs
- FloaterParaClient.cs
- ToolboxDataAttribute.cs
- ArrayElementGridEntry.cs