The C1MediaPlayer plays video and audio from the internet.
Namespace:
C1.Silverlight.MediaPlayerAssembly: C1.Silverlight.MediaPlayer (in C1.Silverlight.MediaPlayer.dll)
Syntax
| C# |
|---|
[TemplateVisualStateAttribute(Name = "Idle", GroupName = "IdleStates")] [TemplateVisualStateAttribute(Name = "Playing", GroupName = "MediaStates")] [TemplateVisualStateAttribute(Name = "Unstarted", GroupName = "MediaStates")] [TemplateVisualStateAttribute(Name = "Buffering", GroupName = "MediaStates")] [TemplateVisualStateAttribute(Name = "Paused", GroupName = "MediaStates")] [TemplateVisualStateAttribute(Name = "NoMedia", GroupName = "MediaStates")] [TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")] [TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")] [TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")] [StyleTypedPropertyAttribute(Property = "ToolBarButtonBaseStyle", StyleTargetType = typeof(Button))] [TemplateVisualStateAttribute(Name = "Interacting", GroupName = "IdleStates")] [ContentPropertyAttribute("Items")] [TemplatePartAttribute(Name = "FullScreenElement", Type = typeof(FrameworkElement))] [TemplatePartAttribute(Name = "MediaPanel", Type = typeof(Panel))] [TemplatePartAttribute(Name = "NormalControlPanel", Type = typeof(FrameworkElement))] [TemplatePartAttribute(Name = "FullScreenControlPanel", Type = typeof(FrameworkElement))] public class C1MediaPlayer : Control |
| Visual Basic |
|---|
<TemplateVisualStateAttribute(Name := "Idle", GroupName := "IdleStates")> _ <TemplateVisualStateAttribute(Name := "Playing", GroupName := "MediaStates")> _ <TemplateVisualStateAttribute(Name := "Unstarted", GroupName := "MediaStates")> _ <TemplateVisualStateAttribute(Name := "Buffering", GroupName := "MediaStates")> _ <TemplateVisualStateAttribute(Name := "Paused", GroupName := "MediaStates")> _ <TemplateVisualStateAttribute(Name := "NoMedia", GroupName := "MediaStates")> _ <TemplateVisualStateAttribute(Name := "MouseOver", GroupName := "CommonStates")> _ <TemplateVisualStateAttribute(Name := "Disabled", GroupName := "CommonStates")> _ <TemplateVisualStateAttribute(Name := "Normal", GroupName := "CommonStates")> _ <StyleTypedPropertyAttribute(Property := "ToolBarButtonBaseStyle", StyleTargetType := GetType(Button))> _ <TemplateVisualStateAttribute(Name := "Interacting", GroupName := "IdleStates")> _ <ContentPropertyAttribute("Items")> _ <TemplatePartAttribute(Name := "FullScreenElement", Type := GetType(FrameworkElement))> _ <TemplatePartAttribute(Name := "MediaPanel", Type := GetType(Panel))> _ <TemplatePartAttribute(Name := "NormalControlPanel", Type := GetType(FrameworkElement))> _ <TemplatePartAttribute(Name := "FullScreenControlPanel", Type := GetType(FrameworkElement))> _ Public Class C1MediaPlayer _ Inherits Control |
Inheritance Hierarchy
System..::..Object
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.MediaPlayer..::..C1MediaPlayer
System.Windows..::..DependencyObject
System.Windows..::..UIElement
System.Windows..::..FrameworkElement
System.Windows.Controls..::..Control
C1.Silverlight.MediaPlayer..::..C1MediaPlayer