SetRedirector() public method

Update the redirector with new reference.
public SetRedirector ( PaletteRedirect redirect ) : void
redirect PaletteRedirect Target redirector.
return void
 /// <summary>
 /// Update the redirector with new reference.
 /// </summary>
 /// <param name="redirect">Target redirector.</param>
 public virtual void SetRedirector(PaletteRedirect redirect)
 {
     _backInherit.SetRedirector(redirect);
     _borderInherit.SetRedirector(redirect);
     _contentInherit.SetRedirector(redirect);
     _metricRedirect.SetRedirector(redirect);
 }
 internal void SetPaletteRedirect(PaletteRedirect redirector)
 {
     _stateNormalRedirect.SetRedirector(redirector);
     _stateVisitedRedirect.SetRedirector(redirector);
     _stateNotVisitedRedirect.SetRedirector(redirector);
     _statePressedRedirect.SetRedirector(redirector);
     _stateFocusRedirect.SetRedirector(redirector);
 }
 /// <summary>
 /// Update the redirector with new reference.
 /// </summary>
 /// <param name="redirect">Target redirector.</param>
 public void SetRedirector(PaletteRedirect redirect)
 {
     _paletteControlInner.SetRedirector(redirect);
     _paletteControlOuter.SetRedirector(redirect);
     _paletteHeading.SetRedirector(redirect);
     _paletteItemHighlight.SetRedirector(redirect);
     _paletteItemImage.SetRedirector(redirect);
     _paletteItemImageColumn.SetRedirector(redirect);
     _paletteItemShortcutTextRedirect.SetRedirector(redirect);
     _paletteItemSplit.SetRedirector(redirect);
     _paletteItemTextAlternateRedirect.SetRedirector(redirect);
     _paletteItemTextStandardRedirect.SetRedirector(redirect);
     _paletteSeparator.SetRedirector(redirect);
 }
示例#4
0
 /// <summary>
 /// Update the redirector with new reference.
 /// </summary>
 /// <param name="redirect">Target redirector.</param>
 public void SetRedirector(PaletteRedirect redirect)
 {
     _stateInherit.SetRedirector(redirect);
 }
示例#5
0
 internal void SetPaletteRedirect(PaletteRedirect redirector)
 {
     _stateCommonRedirect.SetRedirector(redirector);
     _stateRadioButtonImages.Target = redirector;
 }
 internal void SetPaletteRedirect(PaletteRedirect redirector)
 {
     _stateCommonRedirect.SetRedirector(redirector);
     _stateCheckBoxImages.Target = redirector;
 }