Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Media / Effects / OuterGlowBitmapEffect.cs / 1407647 / OuterGlowBitmapEffect.cs
//------------------------------------------------------------------------------ // Microsoft Avalon // Copyright (c) Microsoft Corporation, 2005 // // File: OuterGlowBitmapEffect.cs //----------------------------------------------------------------------------- using MS.Internal; using System; using System.IO; using System.ComponentModel; using System.ComponentModel.Design.Serialization; using System.Diagnostics; using System.Reflection; using System.Runtime.InteropServices; using System.Windows; using System.Windows.Media; using System.Windows.Markup; using System.Windows.Media.Animation; using System.Windows.Media.Composition; using MS.Internal.PresentationCore; using System.Security; namespace System.Windows.Media.Effects { ////// OuterGlowBitmapEffectPrimitive /// public sealed partial class OuterGlowBitmapEffect : BitmapEffect { ////// Constructor /// public OuterGlowBitmapEffect() { } ////// Creates the unmanaged effect handle /// ////// Critical - returns a security critical type SafeHandle. /// Safe - Always returns null. /// [SecuritySafeCritical] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] unsafe protected override SafeHandle CreateUnmanagedEffect() { return null; } ////// Update (propagetes) properties to the unmanaged effect /// ////// This method demands permission because effects should not be run /// in partial trust. /// /// SecurityCritical - because SetValue has a link demand /// SecutiryTreatAsSafe - because it demans UIWindow permission /// [SecurityCritical, SecurityTreatAsSafe] [Obsolete(MS.Internal.Media.VisualTreeUtils.BitmapEffectObsoleteMessage)] protected override void UpdateUnmanagedPropertyState(SafeHandle unmanagedEffect) { SecurityHelper.DemandUIWindowPermission(); } } } // 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
- MsmqIntegrationBindingElement.cs
- StreamInfo.cs
- PublishLicense.cs
- dataobject.cs
- IfJoinedCondition.cs
- SafeWaitHandle.cs
- SHA1Managed.cs
- WebPartConnection.cs
- DocumentViewerConstants.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- SeekStoryboard.cs
- DataGridViewElement.cs
- RelOps.cs
- ProcessModule.cs
- CodeValidator.cs
- EntityContainer.cs
- XamlValidatingReader.cs
- MultipleViewPatternIdentifiers.cs
- ExtendedProperty.cs
- Source.cs
- DbParameterCollection.cs
- UpdatePanelTriggerCollection.cs
- ServiceDescription.cs
- InternalControlCollection.cs
- WebConvert.cs
- OracleConnectionFactory.cs
- RtfControlWordInfo.cs
- WebConfigurationHost.cs
- OdbcEnvironmentHandle.cs
- ActivationArguments.cs
- TablePatternIdentifiers.cs
- CompiledELinqQueryState.cs
- TextElement.cs
- TemplatedAdorner.cs
- XhtmlCssHandler.cs
- PenLineCapValidation.cs
- ExecutionScope.cs
- CodeDefaultValueExpression.cs
- ListViewTableCell.cs
- FontStretches.cs
- XmlEntityReference.cs
- Clipboard.cs
- querybuilder.cs
- ValueProviderWrapper.cs
- ArrangedElementCollection.cs
- DispatcherObject.cs
- SmtpException.cs
- SimpleType.cs
- sitestring.cs
- ObfuscateAssemblyAttribute.cs
- StorageFunctionMapping.cs
- FixedBufferAttribute.cs
- PersonalizationState.cs
- CodeGotoStatement.cs
- BasePattern.cs
- RequestResizeEvent.cs
- DbConnectionPoolCounters.cs
- ClockController.cs
- SqlResolver.cs
- ProxyElement.cs
- CapabilitiesRule.cs
- WSHttpBindingElement.cs
- DesignerLoader.cs
- DataObject.cs
- CodeGenerator.cs
- SimpleBitVector32.cs
- SkinBuilder.cs
- EntityProxyFactory.cs
- DataGridViewCheckBoxCell.cs
- LogicalTreeHelper.cs
- SqlWebEventProvider.cs
- SqlDataSourceCache.cs
- MD5.cs
- Lazy.cs
- ScrollPatternIdentifiers.cs
- TextShapeableCharacters.cs
- HtmlTableCellCollection.cs
- DiagnosticsConfigurationHandler.cs
- HtmlTitle.cs
- Visual3DCollection.cs
- WebPartCatalogAddVerb.cs
- WindowsProgressbar.cs
- SqlNodeTypeOperators.cs
- Int64Converter.cs
- ToolStripControlHost.cs
- UnsafeNativeMethodsCLR.cs
- ElementUtil.cs
- EmptyElement.cs
- HandledMouseEvent.cs
- CriticalExceptions.cs
- WindowsGraphics.cs
- TableChangeProcessor.cs
- ILGenerator.cs
- TableLayoutSettings.cs
- SiblingIterators.cs
- ZeroOpNode.cs
- DockAndAnchorLayout.cs
- TableRow.cs
- DeflateInput.cs
- DrawingAttributesDefaultValueFactory.cs