当前位置: 首页>>代码示例>>C#>>正文


C# Windows.VisualStateGroup类代码示例

本文整理汇总了C#中System.Windows.VisualStateGroup的典型用法代码示例。如果您正苦于以下问题:C# VisualStateGroup类的具体用法?C# VisualStateGroup怎么用?C# VisualStateGroup使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


VisualStateGroup类属于System.Windows命名空间,在下文中一共展示了VisualStateGroup类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: InitializeComponent

 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/OnDemandShellView.xaml", UriKind.Relative));
         this.userControl = (UserControl) base.FindName("userControl");
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoStates = (VisualStateGroup) base.FindName("AssetInfoStates");
         this.ShowAssetInfo = (VisualState) base.FindName("ShowAssetInfo");
         this.InfoPanelIn = (Storyboard) base.FindName("InfoPanelIn");
         this.HideAssetInfo = (VisualState) base.FindName("HideAssetInfo");
         this.ShowSmallAssetInfoPopupBubble = (VisualState) base.FindName("ShowSmallAssetInfoPopupBubble");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.CaptionSettingsPopupStates = (VisualStateGroup) base.FindName("CaptionSettingsPopupStates");
         this.ShowSettingsBubble = (VisualState) base.FindName("ShowSettingsBubble");
         this.HideSettingsBubble = (VisualState) base.FindName("HideSettingsBubble");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.ClickToggleControlBarAction = (ActionMessage) base.FindName("ClickToggleControlBarAction");
         this.controller = (OnDemandController) base.FindName("controller");
         this.assetInfoContentControl = (BubbleContentControl) base.FindName("assetInfoContentControl");
         this.captionBubble = (BubbleContentControl) base.FindName("captionBubble");
         this.CaptionSettings = (ContentControl) base.FindName("CaptionSettings");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
开发者ID:BigBri41,项目名称:TWCTVWindowsPhone,代码行数:29,代码来源:OnDemandShellView.cs

示例2: InitializeComponent

 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/SportsNetworkShellView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ControllerStates = (VisualStateGroup) base.FindName("ControllerStates");
         this.ShowController = (VisualState) base.FindName("ShowController");
         this.HideController = (VisualState) base.FindName("HideController");
         this.WindowStates = (VisualStateGroup) base.FindName("WindowStates");
         this.FullScreen = (VisualState) base.FindName("FullScreen");
         this.Embedded = (VisualState) base.FindName("Embedded");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.Controller = (Grid) base.FindName("Controller");
         this.volumeControl = (VolumeControl) base.FindName("volumeControl");
         this.ClosedCaptioning = (ToggleButton) base.FindName("ClosedCaptioning");
         this.FullScreenGrid = (Grid) base.FindName("FullScreenGrid");
         this.FullScreenButton = (Button) base.FindName("FullScreenButton");
         this.ExitFullScreenGrid = (Grid) base.FindName("ExitFullScreenGrid");
         this.ExitFullScreenButton = (Button) base.FindName("ExitFullScreenButton");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
开发者ID:BigBri41,项目名称:TWCTVWindowsPhone,代码行数:28,代码来源:SportsNetworkShellView.cs

示例3: InitializeComponent

 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Controls/ErrorMessageBox.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.DetailsEnabledStates = (VisualStateGroup) base.FindName("DetailsEnabledStates");
         this.ErrorMessageDetailDisabled = (VisualState) base.FindName("ErrorMessageDetailDisabled");
         this.ErrorMessageDetailEnabled = (VisualState) base.FindName("ErrorMessageDetailEnabled");
         this.DetailsStates = (VisualStateGroup) base.FindName("DetailsStates");
         this.DetailsVisible = (VisualState) base.FindName("DetailsVisible");
         this.DetailsNotVisible = (VisualState) base.FindName("DetailsNotVisible");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.InnerDialogGrid = (Grid) base.FindName("InnerDialogGrid");
         this.DialogRectangle = (Rectangle) base.FindName("DialogRectangle");
         this.CloseButton = (Button) base.FindName("CloseButton");
         this.ErrorMessageTitleTextBlock = (TextBlock) base.FindName("ErrorMessageTitleTextBlock");
         this.ErrorMessageTextBlock = (TextBlock) base.FindName("ErrorMessageTextBlock");
         this.ButtonOK = (Button) base.FindName("ButtonOK");
         this.Icon = (TextBlock) base.FindName("Icon");
         this.SimpleErrorDetails = (Grid) base.FindName("SimpleErrorDetails");
         this.ShowDetailsToggle = (TextToggleButton) base.FindName("ShowDetailsToggle");
         this.DetailsTextBox = (TextBox) base.FindName("DetailsTextBox");
     }
 }
开发者ID:BigBri41,项目名称:TWCTVWindowsPhone,代码行数:26,代码来源:ErrorMessageBox.cs

示例4: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhonePrototype1.Screens;component/Baby_Stages.xaml", System.UriKind.Relative));
     this.PhoneChrome = ((Microsoft.Expression.Prototyping.WindowsPhone.Mockups.WindowsPhoneChrome)(this.FindName("PhoneChrome")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Portrait = ((System.Windows.VisualState)(this.FindName("Portrait")));
     this.Landscape = ((System.Windows.VisualState)(this.FindName("Landscape")));
 }
开发者ID:apurva14,项目名称:Aaltovation_WP7_Round1_MotherCare_Sketchflow,代码行数:12,代码来源:Baby_Stages.g.cs

示例5: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Conversion%20App;component/CustomUserControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Selected = ((System.Windows.VisualState)(this.FindName("Selected")));
     this.textBlock = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock")));
 }
开发者ID:CarltonSemple,项目名称:WindowsApps,代码行数:12,代码来源:CustomUserControl.g.cs

示例6: InitializeComponent

 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/InteractionView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ErrorStates = (VisualStateGroup) base.FindName("ErrorStates");
         this.ErrorMessageShown = (VisualState) base.FindName("ErrorMessageShown");
         this.ErrorMessageNotShown = (VisualState) base.FindName("ErrorMessageNotShown");
         this.ErrorMessage = (ErrorMessageBox) base.FindName("ErrorMessage");
     }
 }
开发者ID:BigBri41,项目名称:TWCTVWindowsPhone,代码行数:13,代码来源:InteractionView.cs

示例7: GoToStateCore

 protected override bool GoToStateCore(Control control, FrameworkElement templateRoot, string stateName, VisualStateGroup group, VisualState state, bool useTransitions)
 {
     if (_isSuspended)
     {
         //_states.Enqueue(stateName);
        // return true;
         return false;
     }
     else
     {
         return base.GoToStateCore(control, templateRoot, stateName, group, state, useTransitions);
     }
 }
开发者ID:garyjohnson,项目名称:Remotive,代码行数:13,代码来源:SuspendableVisualStateManager.cs

示例8: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/homework.Screens;component/Screen_2.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this._SketchFlowAnimation_SketchFlowAnimation = ((System.Windows.VisualStateGroup)(this.FindName("_SketchFlowAnimation_SketchFlowAnimation")));
     this.holdtimes = ((System.Windows.VisualState)(this.FindName("holdtimes")));
     this.SketchFlowAnimationFrame = ((System.Windows.VisualState)(this.FindName("SketchFlowAnimationFrame")));
     this._SketchFlowAnimation_base = ((System.Windows.VisualState)(this.FindName("_SketchFlowAnimation_base")));
     this.button = ((System.Windows.Controls.Button)(this.FindName("button")));
 }
开发者ID:fazreil,项目名称:Homework,代码行数:13,代码来源:Screen_2.g.cs

示例9: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EFI;component/Views/MainPage.xaml", System.UriKind.Relative));
     this.Container = ((System.Windows.Controls.Grid)(this.FindName("Container")));
     this.SettingsPane = ((System.Windows.Controls.Grid)(this.FindName("SettingsPane")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingsStates = ((System.Windows.VisualStateGroup)(this.FindName("SettingsStates")));
     this.ShowSettings = ((System.Windows.VisualState)(this.FindName("ShowSettings")));
     this.HideSettings = ((System.Windows.VisualState)(this.FindName("HideSettings")));
 }
开发者ID:radityagumay,项目名称:EFinance,代码行数:13,代码来源:MainPage.g.i.cs

示例10: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.Phone.Controls.Toolkit;component/DateTimePickers/DatePickerPage.xaml", System.UriKind.Relative));
     this.VisibilityStates = ((System.Windows.VisualStateGroup)(this.FindName("VisibilityStates")));
     this.Open = ((System.Windows.VisualState)(this.FindName("Open")));
     this.Closed = ((System.Windows.VisualState)(this.FindName("Closed")));
     this.PlaneProjection = ((System.Windows.Media.PlaneProjection)(this.FindName("PlaneProjection")));
     this.SystemTrayPlaceholder = ((System.Windows.Shapes.Rectangle)(this.FindName("SystemTrayPlaceholder")));
     this.SecondarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("SecondarySelector")));
     this.TertiarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("TertiarySelector")));
     this.PrimarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("PrimarySelector")));
 }
开发者ID:jeremejevs,项目名称:word-steps,代码行数:15,代码来源:DatePickerPage.g.i.cs

示例11: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EmbeddedSystemsProject;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.button1 = ((System.Windows.Controls.Button)(this.FindName("button1")));
     this.txtHostName = ((System.Windows.Controls.TextBox)(this.FindName("txtHostName")));
     this.txtPortNumber = ((System.Windows.Controls.TextBox)(this.FindName("txtPortNumber")));
     this.btnSave = ((System.Windows.Controls.Button)(this.FindName("btnSave")));
     this.btnClear = ((System.Windows.Controls.Button)(this.FindName("btnClear")));
     this.checkBox1 = ((System.Windows.Controls.CheckBox)(this.FindName("checkBox1")));
 }
开发者ID:omansoor,项目名称:ESDE,代码行数:15,代码来源:MainPage.g.cs

示例12: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Flippingcardanimation;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.FlipCardFront = ((System.Windows.VisualState)(this.FindName("FlipCardFront")));
     this.FlipCardBack = ((System.Windows.VisualState)(this.FindName("FlipCardBack")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.backrectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("backrectangle")));
     this.frontrectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("frontrectangle")));
 }
开发者ID:trilok567,项目名称:Windows-Phone,代码行数:15,代码来源:MainPage.g.cs

示例13: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Procbel.Apps.Silverlight.Modules.Contacts;component/Views/ContactsView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ViewStates = ((System.Windows.VisualStateGroup)(this.FindName("ViewStates")));
     this.ListState = ((System.Windows.VisualState)(this.FindName("ListState")));
     this.OpportunitiesState = ((System.Windows.VisualState)(this.FindName("OpportunitiesState")));
     this.ActivitiesState = ((System.Windows.VisualState)(this.FindName("ActivitiesState")));
     this.ContactsListRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactsListRegion")));
     this.ContactDetailsRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactDetailsRegion")));
     this.ContactMiscDetailsRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactMiscDetailsRegion")));
 }
开发者ID:sgh1986915,项目名称:Sliverlight-Prism,代码行数:15,代码来源:ContactsView.g.cs

示例14: InitializeComponent

 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.HealthMonitorPlayer;component/Views/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingStates = ((System.Windows.VisualStateGroup)(this.FindName("SettingStates")));
     this.SettingsVisible = ((System.Windows.VisualState)(this.FindName("SettingsVisible")));
     this.SettingsHidden = ((System.Windows.VisualState)(this.FindName("SettingsHidden")));
     this.playerSmooth = ((Microsoft.SilverlightMediaFramework.Core.SMFPlayer)(this.FindName("playerSmooth")));
     this.SettingsPanel = ((System.Windows.Controls.Border)(this.FindName("SettingsPanel")));
     this.SettingsScaler = ((System.Windows.Media.ScaleTransform)(this.FindName("SettingsScaler")));
     this.TraceConfig = ((Microsoft.HealthMonitorPlayer.Views.TraceConfig)(this.FindName("TraceConfig")));
 }
开发者ID:rhlbenjamin,项目名称:azure-media-services-samples,代码行数:15,代码来源:Player.g.i.cs

示例15: InitializeComponent

 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/LiveAssetInfoView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoLoadingStates = (VisualStateGroup) base.FindName("AssetInfoLoadingStates");
         this.Loading = (VisualState) base.FindName("Loading");
         this.LoadedState = (VisualState) base.FindName("LoadedState");
         this.LoadedGrid = (Grid) base.FindName("LoadedGrid");
         this.assetInfoPanel = (BubbleContentControl) base.FindName("assetInfoPanel");
         this.LoadingGrid = (Grid) base.FindName("LoadingGrid");
         this.assetInfoPanel_Copy = (BubbleContentControl) base.FindName("assetInfoPanel_Copy");
         this.Spinner = (LoadSpinnerControl) base.FindName("Spinner");
     }
 }
开发者ID:BigBri41,项目名称:TWCTVWindowsPhone,代码行数:17,代码来源:LiveAssetInfoView.cs


注:本文中的System.Windows.VisualStateGroup类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。