Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- HyperLinkStyle.cs
- EventLogPermissionHolder.cs
- Utility.cs
- HandlerBase.cs
- AuthenticationSchemesHelper.cs
- PropertyValue.cs
- PinnedBufferMemoryStream.cs
- Vector3DAnimationBase.cs
- MethodBuilderInstantiation.cs
- FontSizeConverter.cs
- RTLAwareMessageBox.cs
- RegexReplacement.cs
- SafeFileHandle.cs
- MultiView.cs
- CodeMethodReturnStatement.cs
- PublisherMembershipCondition.cs
- DebugHandleTracker.cs
- ReadContentAsBinaryHelper.cs
- XmlSchemaAttributeGroup.cs
- ProxyManager.cs
- ContentPresenter.cs
- BitmapVisualManager.cs
- Nodes.cs
- PreviewKeyDownEventArgs.cs
- ListViewSortEventArgs.cs
- Label.cs
- PartBasedPackageProperties.cs
- SemanticBasicElement.cs
- TextLine.cs
- MSAAEventDispatcher.cs
- MimeWriter.cs
- HelpHtmlBuilder.cs
- DictionarySurrogate.cs
- ListSortDescription.cs
- LocalFileSettingsProvider.cs
- GroupQuery.cs
- BindingsCollection.cs
- WebPageTraceListener.cs
- CodeVariableDeclarationStatement.cs
- ForwardPositionQuery.cs
- ObjectSecurity.cs
- Brushes.cs
- TreeNode.cs
- ApplyTemplatesAction.cs
- TextViewDesigner.cs
- SystemKeyConverter.cs
- TheQuery.cs
- AutomationPropertyChangedEventArgs.cs
- Select.cs
- ProviderConnectionPoint.cs
- loginstatus.cs
- XmlDataSourceView.cs
- ToolStripItemDataObject.cs
- ObjectPersistData.cs
- HttpListenerContext.cs
- DocumentViewerAutomationPeer.cs
- SecurityState.cs
- GroupItemAutomationPeer.cs
- DocumentsTrace.cs
- EmbossBitmapEffect.cs
- XmlSchemaRedefine.cs
- XmlResolver.cs
- BaseTemplateParser.cs
- MemberDomainMap.cs
- BufferBuilder.cs
- UMPAttributes.cs
- FileLevelControlBuilderAttribute.cs
- MenuRendererClassic.cs
- Selection.cs
- CompiledQueryCacheKey.cs
- SerializationHelper.cs
- PartialClassGenerationTask.cs
- InkCanvasSelection.cs
- Utils.cs
- ThreadAbortException.cs
- Utils.cs
- InvalidateEvent.cs
- InputProcessorProfiles.cs
- unsafenativemethodsother.cs
- ProfileInfo.cs
- LinkDescriptor.cs
- IntranetCredentialPolicy.cs
- MenuRendererStandards.cs
- SystemResourceHost.cs
- MinMaxParagraphWidth.cs
- EntityParameter.cs
- TypedColumnHandler.cs
- EmbeddedObject.cs
- HostingEnvironmentSection.cs
- ListDictionaryInternal.cs
- CodeDomSerializer.cs
- TextEditorMouse.cs
- SecurityRuntime.cs
- COM2Enum.cs
- HttpSysSettings.cs
- TextPatternIdentifiers.cs
- SQLConvert.cs
- HwndHost.cs
- FormatVersion.cs
- AcceleratedTokenProvider.cs