Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / xsp / System / Web / UI / controlskin.cs / 1 / controlskin.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Reflection; using System.Security.Permissions; namespace System.Web.UI { [EditorBrowsable(EditorBrowsableState.Advanced)] public delegate System.Web.UI.Control ControlSkinDelegate(Control control); [EditorBrowsable(EditorBrowsableState.Advanced)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ControlSkin { private Type _controlType; private ControlSkinDelegate _controlSkinDelegate; public ControlSkin(Type controlType, ControlSkinDelegate themeDelegate) { _controlType = controlType; _controlSkinDelegate = themeDelegate; } public Type ControlType { get { return _controlType; } } public void ApplySkin(Control control) { _controlSkinDelegate(control); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- using System; using System.ComponentModel; using System.Reflection; using System.Security.Permissions; namespace System.Web.UI { [EditorBrowsable(EditorBrowsableState.Advanced)] public delegate System.Web.UI.Control ControlSkinDelegate(Control control); [EditorBrowsable(EditorBrowsableState.Advanced)] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class ControlSkin { private Type _controlType; private ControlSkinDelegate _controlSkinDelegate; public ControlSkin(Type controlType, ControlSkinDelegate themeDelegate) { _controlType = controlType; _controlSkinDelegate = themeDelegate; } public Type ControlType { get { return _controlType; } } public void ApplySkin(Control control) { _controlSkinDelegate(control); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlSignificantWhitespace.cs
- AlgoModule.cs
- EventLogger.cs
- CodeCastExpression.cs
- WriteableBitmap.cs
- SpeakCompletedEventArgs.cs
- SymbolEqualComparer.cs
- CustomPopupPlacement.cs
- SimpleBitVector32.cs
- SequenceFullException.cs
- TemplateBamlTreeBuilder.cs
- TextElementEditingBehaviorAttribute.cs
- XmlSchemaType.cs
- PolyBezierSegment.cs
- TemplatedMailWebEventProvider.cs
- FixedSOMTableRow.cs
- ShaderEffect.cs
- BaseProcessor.cs
- DataMisalignedException.cs
- EntityDataSourceDesignerHelper.cs
- XPathDocumentBuilder.cs
- Random.cs
- MouseEventArgs.cs
- ActivityDesignerResources.cs
- DataBindingCollection.cs
- StringConcat.cs
- LinqTreeNodeEvaluator.cs
- ToolStripPanelCell.cs
- MaskedTextProvider.cs
- WrappedIUnknown.cs
- ColorDialog.cs
- LinkedResourceCollection.cs
- Popup.cs
- View.cs
- Point3DCollectionConverter.cs
- DbMetaDataColumnNames.cs
- Triplet.cs
- DataGridViewDataErrorEventArgs.cs
- PackagePart.cs
- X509CertificateChain.cs
- ApplicationCommands.cs
- CustomAttributeBuilder.cs
- IDQuery.cs
- Interfaces.cs
- CodeDomDesignerLoader.cs
- ListBindingConverter.cs
- AnnouncementDispatcherAsyncResult.cs
- Native.cs
- CodeDomExtensionMethods.cs
- WindowsIPAddress.cs
- WebPartCollection.cs
- QuaternionAnimationUsingKeyFrames.cs
- VariableQuery.cs
- XmlSequenceWriter.cs
- SQLBinary.cs
- DbProviderManifest.cs
- MdImport.cs
- DeploymentSection.cs
- HttpDictionary.cs
- ProxyWebPart.cs
- DetailsViewCommandEventArgs.cs
- EntityProviderServices.cs
- Transform3DGroup.cs
- GenericRootAutomationPeer.cs
- SamlDoNotCacheCondition.cs
- SQLResource.cs
- OletxDependentTransaction.cs
- CorrelationToken.cs
- DataGridViewLayoutData.cs
- TableRow.cs
- FixedPageStructure.cs
- HotSpotCollection.cs
- TemplateLookupAction.cs
- WebServiceParameterData.cs
- HandlerFactoryWrapper.cs
- DropDownList.cs
- SingleTagSectionHandler.cs
- BindingWorker.cs
- TimeSpanStorage.cs
- NamedPipeTransportElement.cs
- Grant.cs
- MultiTargetingUtil.cs
- RefType.cs
- DynamicQueryableWrapper.cs
- PageAdapter.cs
- GB18030Encoding.cs
- FunctionMappingTranslator.cs
- TrackPoint.cs
- Camera.cs
- ContainerUIElement3D.cs
- PackageRelationship.cs
- DataSourceCacheDurationConverter.cs
- Fonts.cs
- PseudoWebRequest.cs
- WindowsListViewGroupHelper.cs
- prompt.cs
- ConversionContext.cs
- BindingManagerDataErrorEventArgs.cs
- ManageRequest.cs
- WebMessageBodyStyleHelper.cs