Повторите кисть фона в WPF

и поблагодарить вас.

Этот вопрос очень похож на этот старый вопрос, на который нет ответа: Как нарисовать линии, похожие на блокнот, в качестве фона TextBox? Однако это не то же самое - не совсем.

Я хотел бы создать блокнот с линованным бумажным фоном, но я не знаком с тем, как повторить кисть в XAML. Как у вас?

РЕДАКТИРОВАТЬ

Вот решение как часть TextBox:


  
    
      
          
              
                  
              
              
                  
              
          
      
    
  
  Now is the time for all good men to come to the aid of their country.
  Now is the time for all good men to come to the aid of their country.
  Now is the time for all good men to come to the aid of their country.
  Now is the time for all good men to come to the aid of their country.
  Now is the time for all good men to come to the aid of their country.

7
задан Community 23 May 2017 в 10:29
поделиться