Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- TraceSection.cs
- MaskInputRejectedEventArgs.cs
- ContractListAdapter.cs
- EmulateRecognizeCompletedEventArgs.cs
- NumericUpDown.cs
- RequestQueryParser.cs
- OdbcConnection.cs
- PageClientProxyGenerator.cs
- XmlSchemaComplexType.cs
- HtmlHead.cs
- Brushes.cs
- RectangleConverter.cs
- DataServiceQuery.cs
- ExternalException.cs
- Point3DAnimationUsingKeyFrames.cs
- DataBinding.cs
- SHA384.cs
- GeneralTransform2DTo3DTo2D.cs
- MethodCallConverter.cs
- FigureParaClient.cs
- PreservationFileWriter.cs
- SerializationEventsCache.cs
- WinEventWrap.cs
- XmlSchemaAnyAttribute.cs
- Restrictions.cs
- Repeater.cs
- FunctionImportElement.cs
- SafeRightsManagementQueryHandle.cs
- ApplicationServiceManager.cs
- ItemPager.cs
- SchemaAttDef.cs
- ValueHandle.cs
- DurationConverter.cs
- IndependentAnimationStorage.cs
- DataGridColumnHeadersPresenter.cs
- EventHandlers.cs
- CharConverter.cs
- TreeNodeBinding.cs
- DataSourceGeneratorException.cs
- FontFamilyValueSerializer.cs
- ConfigurationSchemaErrors.cs
- EntityCollection.cs
- Operators.cs
- NamespaceDecl.cs
- fixedPageContentExtractor.cs
- ViewStateModeByIdAttribute.cs
- PassportAuthenticationModule.cs
- XmlSerializerOperationFormatter.cs
- filewebresponse.cs
- Padding.cs
- MatrixTransform.cs
- Image.cs
- ExtensionWindowResizeGrip.cs
- DoubleUtil.cs
- MdImport.cs
- ComponentEditorForm.cs
- IndexingContentUnit.cs
- Parameter.cs
- AspCompat.cs
- NonClientArea.cs
- FtpCachePolicyElement.cs
- DataControlField.cs
- SymbolEqualComparer.cs
- QuerySetOp.cs
- ObfuscateAssemblyAttribute.cs
- InputLanguageManager.cs
- smtpconnection.cs
- ExpressionBuilderContext.cs
- Literal.cs
- HtmlElementCollection.cs
- ComponentDispatcher.cs
- EnvelopedPkcs7.cs
- SecurityDescriptor.cs
- XmlIterators.cs
- SettingsAttributes.cs
- ProfilePropertyMetadata.cs
- ResolveNameEventArgs.cs
- TextPointer.cs
- SelectionEditingBehavior.cs
- InheritablePropertyChangeInfo.cs
- MruCache.cs
- dataprotectionpermissionattribute.cs
- XmlSchemaSimpleTypeList.cs
- SocketPermission.cs
- Pair.cs
- PropertyOverridesDialog.cs
- SelfIssuedTokenFactoryCredential.cs
- FunctionUpdateCommand.cs
- UnaryNode.cs
- DbException.cs
- OAVariantLib.cs
- XmlNodeComparer.cs
- RoutedEventArgs.cs
- HMACSHA384.cs
- printdlgexmarshaler.cs
- SharedPersonalizationStateInfo.cs
- ObjectQueryProvider.cs
- hresults.cs
- DataGridViewHitTestInfo.cs
- SqlUserDefinedTypeAttribute.cs