Skip to end of metadata
Go to start of metadata

Represents a UXFlow's control panel.

Definition

public class UXFlowControlPanel : ISControl

Summary

The following table summarizes the members exposed in this class.

Public Constructors

UXFlowControlPanel Constructor() Initializes a new instance of the UXFlowControlPanel class.

Public Properties

FullScreenButtonVisibility Gets or sets the full screen button visibility.
IsPointerPressed Gets a value that indicates wheter the scroll bar pointer is pressed.
PointerWidth Gets or sets the scroll bar pointer width.
RootElement Gets the root element.
ScrollBarVisibility Gets or sets the scroll bar visibility.
SlideShowButtonVisibility Gets or sets the slide show button visibility.

Protected Properties

Product Product Info.

Fields

FullScreenButtonVisibilityProperty Identifies the FullScreenButtonVisibility dependency property.
PointerWidthProperty Identifies the PointerWidth dependency property.
ScrollBarVisibilityProperty Identifies the ScrollBarVisibility dependency property.
SlideShowButtonVisibilityProperty Identifies the SlideShowButtonVisibility dependency property.

Public Methods

AttachEventHandlers() Attach built-in event handlers to control templates. Call this method if necessary.
DetachedEventHandlers() Detach built-in event handlers from control templates. Call this method if necessary.
InitializeTemplates() Initializes control templates.
OnApplyTemplate() Builds the visual tree for the UXFlowControlPanel when a new template is applied.

Protected Methods

OnFastForwardButtonClick(RoutedEventArgs) Raises the FastForwardButtonClick event.
OnFullScreenInButtonClick(RoutedEventArgs) Raises the FullScreenInButtonClick event.
OnFullScreenOutButtonClick(RoutedEventArgs) Raises the FullScreenOutButtonClick event.
OnMouseMove(MouseEventArgs) Called before the MouseMove event occurs.
OnNextButtonClick(RoutedEventArgs) Raises the NextButtonClick event.
OnPauseButtonClick(RoutedEventArgs) Raises the PauseButtonClick event.
OnPlayButtonClick(RoutedEventArgs) Raises the PlayButtonClick event.
OnPointerDown(MouseEventArgs) Raises the PointerDown event.
OnPointerMove(MouseEventArgs) Raises the PointerMove event.
OnPointerUp(MouseEventArgs) Raises the PointerUp event.
OnPreviousButtonClick(RoutedEventArgs) Raises the PreviousButtonClick event.
OnRewindButtonClick(RoutedEventArgs) Raises the RewindButtonClick event.
OnScrollBarClick(MouseEventArgs) Raises the ScrollBarClick event.

Events

FastForwardButtonClick Occurs when fast forward button is clicked.
FullScreenInButtonClick Occurs when full screen in button clicked.
FullScreenOutButtonClick Occurs when full screen out button clicked.
NextButtonClick Occurs when next button clicked.
PauseButtonClick Occurs when pause button clicked.
PlayButtonClick Occurs when play button clicked
PointerDown Occurs when pointer mouse left button down.
PointerMove Occurs when pointer mouse move.
PointerUp Occurs when pointer mouse left button up.
PreviousButtonClick Occurs when previous button is clicked.
RewindButtonClick Occurs when rewind button is clicked.
ScrollBarClick Occurs when scroll bar is clicked.

Public Constructors

public UXFlowControlPanel()

Initializes a new instance of the UXFlowControlPanel class.

Public Properties

public Visibility FullScreenButtonVisibility { get; set; }

Gets or sets the full screen button visibility.

public bool IsPointerPressed { get; set; }

Gets a value that indicates wheter the scroll bar pointer is pressed.

public double PointerWidth { get; set; }

Gets or sets the scroll bar pointer width.

public Grid RootElement { get; }

Gets the root element.

public Visibility ScrollBarVisibility { get; set; }

Gets or sets the scroll bar visibility.

public Visibility SlideShowButtonVisibility { get; set; }

Gets or sets the slide show button visibility.

Protected Properties

protected ProductInfo Product { get; }

Product Info.

Fields

public static readonly DependencyProperty FullScreenButtonVisibilityProperty

Identifies the FullScreenButtonVisibility dependency property.

public static readonly DependencyProperty PointerWidthProperty

Identifies the PointerWidth dependency property.

public static readonly DependencyProperty ScrollBarVisibilityProperty

Identifies the ScrollBarVisibility dependency property.

public static readonly DependencyProperty SlideShowButtonVisibilityProperty

Identifies the SlideShowButtonVisibility dependency property.

Public Methods

public void AttachEventHandlers()

Attach built-in event handlers to control templates. Call this method if necessary.

public void DetachedEventHandlers()

Detach built-in event handlers from control templates. Call this method if necessary.

public void InitializeTemplates()

Initializes control templates.

public void OnApplyTemplate()

Builds the visual tree for the UXFlowControlPanel when a new template is applied.

Protected Methods

protected void OnFastForwardButtonClick(RoutedEventArgs e)

Raises the FastForwardButtonClick event.

Parameters

e The event data.

protected void OnFullScreenInButtonClick(RoutedEventArgs e)

Raises the FullScreenInButtonClick event.

Parameters

e The event data.

protected void OnFullScreenOutButtonClick(RoutedEventArgs e)

Raises the FullScreenOutButtonClick event.

Parameters

e The event data.

protected void OnMouseMove(MouseEventArgs e)

Called before the MouseMove event occurs.

Parameters

e The data for the event.

protected void OnNextButtonClick(RoutedEventArgs e)

Raises the NextButtonClick event.

Parameters

e The event data.

protected void OnPauseButtonClick(RoutedEventArgs e)

Raises the PauseButtonClick event.

Parameters

e The event data.

protected void OnPlayButtonClick(RoutedEventArgs e)

Raises the PlayButtonClick event.

Parameters

e The event data.

protected void OnPointerDown(MouseEventArgs e)

Raises the PointerDown event.

Parameters

e The event data.

protected void OnPointerMove(MouseEventArgs e)

Raises the PointerMove event.

Parameters

e The event data.

protected void OnPointerUp(MouseEventArgs e)

Raises the PointerUp event.

Parameters

e The event data.

protected void OnPreviousButtonClick(RoutedEventArgs e)

Raises the PreviousButtonClick event.

Parameters

e The event data.

protected void OnRewindButtonClick(RoutedEventArgs e)

Raises the RewindButtonClick event.

Parameters

e The event data.

protected void OnScrollBarClick(MouseEventArgs e)

Raises the ScrollBarClick event.

Parameters

e The event data.

Events

public event RoutedEventHandler FastForwardButtonClick

Occurs when fast forward button is clicked.

public event RoutedEventHandler FullScreenInButtonClick

Occurs when full screen in button clicked.

public event RoutedEventHandler FullScreenOutButtonClick

Occurs when full screen out button clicked.

public event RoutedEventHandler NextButtonClick

Occurs when next button clicked.

public event RoutedEventHandler PauseButtonClick

Occurs when pause button clicked.

public event RoutedEventHandler PlayButtonClick

Occurs when play button clicked

public event EventHandler<MouseEventArgs> PointerDown

Occurs when pointer mouse left button down.

public event EventHandler<MouseEventArgs> PointerMove

Occurs when pointer mouse move.

public event EventHandler<MouseEventArgs> PointerUp

Occurs when pointer mouse left button up.

public event RoutedEventHandler PreviousButtonClick

Occurs when previous button is clicked.

public event RoutedEventHandler RewindButtonClick

Occurs when rewind button is clicked.

public event EventHandler<MouseEventArgs> ScrollBarClick

Occurs when scroll bar is clicked.

  • No labels